Bugzilla – Bug 4917
After deleting a track from Music folder, the track is still in the Browser frame.
Last modified: 2011-11-06 23:23:18 UTC
System Info: Gateway, P4, 2.0 GHz, 1.25 GB in RAM, XP SP2, IE 6.0.2900.2180 SlimServer Version: 6.5.2 - 11726 Perl Version: 5.8.8 MSWin32-x86-multi-thread MySQL Version: 5.0.22-community-nt Steps: 1. Start SlimServer. 2. Start the web interface. 3. In Windows, add some songs to the Music Folder. 4. On SlimServer web page, go to Music Folder. The songs are there. Play them, and they play. 5. On Windows, delete the songs from the Music Folder. 6. Close the SlimServer web interface. 7. Start the web page again. 8. Go to Music Folder. 9. Notice the songs are still there. 10. Play one of them. As expected, it does not play. In fact, the frame on the right hand side becomes completely blank.
Created attachment 1906 [details] Deleted tracks still on SlimServer web page.
I believe you should find this already reported elsewhere. the database doesn't handle deleted tracks in any quick fashion (if at all)
If you do a scan for "new and changed" is it cleaned up at that time?
Yes, rescanning takes care of the problem. It would be nice to have it updated automatically. I am lowering the priority to enhancement request.
it was on the "todo" list. I'm not sure what Dan had in mind for how to implement, but at least the code to do cleanup is there once we come up with the appropriate mechanics for calling the code. - do we check during browse music folder and delete? - do we set up an automatic scanner.pl launch in background every so often - does someone really kind come up with a way to monitor the filesystem live?
In windows at least there is some kind of system notification you can subscribe to that can inform your application of filesystem changes, but I don't know anything about it really other than I've heard it exists. And it wouldn't work on macs or any other platform.
Unassigned bugs cannot have a priority.