After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 361210 - Banshee needs a way to cleanup (remove stale tracks)
Banshee needs a way to cleanup (remove stale tracks)
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Other Extensions
Legacy Branch
Other All
: Normal enhancement
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-10 17:50 UTC by Trey Ethridge
Modified: 2009-03-01 19:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Plugin to clean stale tracks from the Banshee library. (10.80 KB, application/x-compressed-tar)
2006-10-10 18:23 UTC, Trey Ethridge
Details

Description Trey Ethridge 2006-10-10 17:50:54 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.
Comment 1 Trey Ethridge 2006-10-10 17:53:30 UTC
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.
Comment 2 Trey Ethridge 2006-10-10 18:23:56 UTC
Created attachment 74431 [details]
Plugin to clean stale tracks from the Banshee library.

Let me know if I need to make changes.  Enjoy.
Comment 3 Bertrand Lorentz 2009-01-10 15:29:28 UTC
I think the "Tools > Rescan Music Library" menu item introduced in 1.4 implements this feature.
Comment 4 Andrés G. Aragoneses (IRC: knocte) 2009-03-01 19:09:19 UTC
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).