Bugzilla – Bug 6460
can't play folders whose name fits a certain pattern with '#' and '-'
Last modified: 2011-11-06 23:22:46 UTC
To reproduce: (1) create a folder named "Beethoven piano sonatas #30-32" (without the quotes) (2) put some FLAC files inside (may not be specific to FLAC, I haven't tried anything else) (3) use Browse > Music Folder on an SB1 or SB2 to browse to this folder (4) press play This will give you an error that it cannot open the file(s). In addition: (5) browse to one of the FLAC files inside the folder (6) press play Same error. Now do this: (7) rename the folder to "Beethoven piano sonatas # 30-32" (without the quotes) (8) browse to the folder and play it with success (9) rename the folder to "Beethoven piano sonatas #30,31,32" (witout the quotes) (10) browse to the folder and play it with success This was tried on both XP and debian (ubuntu). Filesystem is ReadyNAS. Have not tried on 7.0.
I suspect that the path to the folder isn't being escaped properly when turned into a URL in the database. We use the syntax: file://path/to/song.mp3#12-24 to indicate that the song should start at second 12 of the file and end at second 24. URI.pm appears to be doing the right thing when creating the file: URL (by looking at the code), so it's probably in some Slim code. We'll look at this post-7.0.
Unassigned bugs cannot have a priority.