Page 1 of 1

Cover art downloading and quotes in paths

PostPosted: Thu Apr 28, 2011 2:44 am
by audiophyl
This is likely a problem for characters other than commas, but I've just noticed it. I have several classical albums, and album titles such as 'Symphony No. 3, "Title of Symphony"', etc. are quite common. Cover art downloading seems to choke on the comma. The error looks like this:

java.io.FileNotFoundException: /directory/where/I/keep/my/music/Symphony No. 3, /cover.jpg (No such file or directory)

Not really a big problem, as I just skip over the occasional album while downloading cover art. Worth reporting, though!

EDIT: I feel a bit silly for not noticing this, but it's QUOTES, not commas.

PostPosted: Fri Apr 29, 2011 2:04 pm
by 3R3
this is due to the double quotes being used to pass the variable like this:
Code: Select all
<sometag var="path">

since the path variable itself contains double quotes too, only the part up to the first " is being actually passed.

For double quotes in paths to work, there needs to be a way to escape these characters like double quotes.

so its just an explanation rather than a solution...
a quasi-solution would be to replace your quotes in filenames and keep them in the tags.


3R3