Bug 4574 - file named "#41-.flac" not index by SlimServer, and doesn't play via music folder
: file named "#41-.flac" not index by SlimServer, and doesn't play via music fo...
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5.1
: PC Windows XP
: -- minor (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-07 18:52 UTC by Ross Levine
Modified: 2011-11-06 23:24 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 Ross Levine 2006-12-07 18:52:50 UTC
A customer reported this issue and I've reproduced it by naming any flac file #41-.flac then pointing SlimServer to a directory with this file. SlimServer doesn't index the file, and when you browse via music folder and try to play the file you get "Problem: Can't open file for". 

Apparently thats the name of a track on a Dave Matthews album.
Comment 1 KDF 2006-12-07 23:33:05 UTC
--d_source log?
Comment 2 KDF 2006-12-08 11:14:42 UTC
#41.flac = readable, 41-.flac = readable. #41-.flac = not readable

curious.
Comment 3 KDF 2006-12-08 11:20:16 UTC
The song title, however, appears to be "#41" (Dave Matthews - Crash).  Not sure why the dash is there, but if it wasn't it would work AND match the song title.  # and - are not really filename-friendly characters.
Comment 4 Chris Owens 2006-12-08 12:44:14 UTC
So Ross, the workaround is clear: remove the '-' character.  And if you could get the customer to provide the --d_source info KDF mentioned, I would appreciate it.
Comment 5 KDF 2006-12-08 13:06:36 UTC
actually, the d_source info ins't much use.  It's just something about nothing to do with an unknown format.

The problem appears to stem from the scanner itself or rather the CPAN file finding module used by the scanner, which doesn't find files with what it considers as bogus filenames.

I can't really find anything in 6.5.1 that shows where this is happening, but using --debug=formats.playlist in 7.0 does attempt an errors message, but the content of the error comes back as undefined.  Basically, it's as if the file doesn't exist.
Comment 6 Chris Owens 2006-12-08 16:16:04 UTC
Hmm the windows file system doesn't seem to have any innate problems with files named that way.  I wonder if it's another perl/windows bug like bug 2475.
Comment 7 Alan Young 2011-11-06 23:24:43 UTC
Unassigned bugs cannot have a priority.