Bugzilla – Bug 1462
Show list of unreadable files.
Last modified: 2011-11-06 23:22:59 UTC
We should keep a list and show the unreadable files/paths we encounter.
Can you elaborate?
Yes - MusicMagic has a list of "Unanalyzable Files" - we should do something similar. It would help with the issue of "SlimServer doesn't see all my files!" - might give a sense of why that is.
Good, we can put that in the log during the scan.
or, when we scan playlists the log can record files that were unreadable. This could avoid confusion when the server scans and browses files from playlists that dont exist. Users who have the files on a removable drive can ignore, but those with simple stale playlists might be less confused if they are listed somewhere. as one example from the forum: http://forums.slimdevices.com/showthread.php?t=15906
It should be flexible enough to distinguish between unreadable (removable drive that is unattached) and readable, but not in the library path defined in the config file/UI. Current behavior is that if a file is referenced in a playlist and is reachable in the filesystem, it is included in the library DB. My preferred behavior is that it be excluded from the library with a message in Log. This could be an option in the UI behavior tab. I could see others wanting to see the files since they are valid. The other issue is when a file referenced is unavailable. My view is this should be excluded from the DB and flagged in the log (preferably with a comment indicating the offending playlist name and location). Again, for folks with removeable drives, they may want them included in the library, so an option in the UI may be in order.
Having real exception handling will help with this, as we'll be able to throw & catch, and add to this list based on the exception thrown.
cc'ing Dan evans since he expressed interest in the outcome of this bug yesterday.
Unassigned bugs cannot have a priority.