I'm not sure if there is a bug in 6.2.2.

I have a playlist called "coverville".  I add songs to the end of the playlist 
physical file, and the songs get added into the slimserver playlist upon a 
rescan.  When I have listened to songs from the start of the playlist, I "zap" 
them, and delete the physical file from disk.

Upon a rescan, the slimserver log is reporting that it can't find some of the 
files that are referenced in the playlist.  These are the ones that I have 
zapped and removed from disk.

If I browse the playlist in slimserver, it doesn't list the tracks.  If I edit 
the playlist and click "done editing", it doesn't amend the physical playlist.  
However, if I edit the playlist and perform any change, eg. change the order, 
delete a track, etc, and hit "done editing", it does flush the slimserver 
playlist to the physical playlist file.  This then removes the references to 
the tracks that it didn't load in initially.

So I'm wondering if slimserver should keep the phsical playlist file in step 
with the slimserver playlist file, or be more consistent with how it treats 
invalid entries:

a) Remove invalid playlist entries from the physical playlist file when 
scanning.
b) Don't remove invalid playlist entries that didn't load from the physical 
file, even when storing the slimserver playlist amendments.

I don't particularly like (a), as if someone has just built a nice playlist 
file by hand or another app, but there is a typo, or a drive letter has 
changed, slimserver could end up deleting all entries.  I don't like (b), as 
slimserver would continue to log warnings for files that don't exist upon each 
rescan.

I was wondering therefore if a solution would be to automatically change a bad 
track reference in the physical file to a comment.  ie. report it as a bad 
filename on the first scan, then save it back to disk with that reference 
commented out.

Would that seem reasonable.

I think in my case, after zapping some tracks, I should probably use 
slimservers playlist editing feature to delete the tracks I don't want in the 
playlist any more, AND THEN delete the file on disk.  I'll have to test this - 
I thought that after zapping the tracks they were filtered from the playlist, 
so this was not possible.
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to