GNOME Bugzilla – Bug 361210
Banshee needs a way to cleanup (remove stale tracks)
Last modified: 2009-03-01 19:09:19 UTC
If tracks are deleted, moved, or renamed outside of Banshee, then Banshee gets out of sync. There needs to be a way to clean up references to stale tracks.
I created a plugin to "clean up" the library. Run it to remove any tracks that Banshee can't locate. Note: there is a known bug that effects the plugin. It will clean the tracks properly. However, it won't refresh the active playlist. You have to switch playlists or to some plugin that replaces the active playlist and then switch back to see the updated playlist.
Created attachment 74431 [details] Plugin to clean stale tracks from the Banshee library. Let me know if I need to make changes. Enjoy.
I think the "Tools > Rescan Music Library" menu item introduced in 1.4 implements this feature.
FYI: I think this bug has not been addressed completely with the Rescan option, due to bug 552608 (essentialy that bug is a dupe of this one, but focusing on the Rescan bad behaviour).