Bug 6460 - can't play folders whose name fits a certain pattern with '#' and '-'
: can't play folders whose name fits a certain pattern with '#' and '-'
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 6.5.4
: PC Windows XP
: -- normal (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-25 22:45 UTC by Christopher Colby
Modified: 2011-11-06 23:22 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Colby 2007-12-25 22:45:15 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.
Comment 1 Blackketter Dean 2007-12-28 06:55:13 UTC
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.
Comment 2 Alan Young 2011-11-06 23:22:46 UTC
Unassigned bugs cannot have a priority.