tblancher / pymazon

Automatically exported from code.google.com/p/pymazon
Other
0 stars 0 forks source link

Tracks with slashes in name create directories [patch included] #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download this album via pymazon http://amzn.to/j6gahC (free at the moment)
2.
3.

What is the expected output? What do you see instead?
I would expect 9 mp3 files, one of which for the song "Secrets/You're Always 
Watching". The file I would expect would be something like "5 - Secrets-You're 
Always Watching.mp3", since "/" is not a valid character in a file name on 
Linux, but instead I get a directory called "5 - Secrets" containing the mp3, 
"You're Always Watching.mp3"

What version of the product are you using? On what operating system?
changeset:   52:d3a9bb8e48f2

Please provide any additional information below.
I've included a patch. It converts any path delimiter to an underscore. Let me 
know if you have any feedback. Daniel Krol orblivion@gmail.com

Original issue reported on code.google.com by orbliv...@gmail.com on 22 May 2011 at 9:02

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, I forgot to mention, I'm on Ubuntu Linux, Lucid Lynx.

Original comment by orbliv...@gmail.com on 22 May 2011 at 9:04

GoogleCodeExporter commented 8 years ago

Original comment by SCColbert@gmail.com on 22 May 2011 at 4:53