How to remove duplicate tracks from Rhythmbox?
It's happened to me a few times...
The easy way to solve this issue is:
- Open "Home"
- Press Ctrl+h (this will show your hidden files and folders)
- Navigate to
.local/share/rhythmbox
- Delete rhythmdb.xml
- Restart Rhythmbox
The rhythmdb.xml file contains the music library info for Rhythmbox, by deleting it, you'll be forcing rhythmbox to re-check the library, thus getting rid of the repeated entries.
Some blogger wrote a GUI tool which automatically removes the duplicate entries from the rhythmbox database (without touching the actual files):
sudo apt-get install python-tk
wget -P /tmp blog.tappir.com/rhythmboxRemoveDuplicates.py
chmod +x /tmp/rhythmboxRemoveDuplicates.py
python /tmp/rhythmboxRemoveDuplicates.py
Reference: http://blog.tappir.com/?p=13