12

I have Rhythmbox 2.97 on 32bit Ubuntu 12.10.

I have a large number of duplicate music entries that don't show up in my music folder.

I really would like to know if there's any plugin or any means to get rid of them.

2 Answers 2

11

It's happened to me a few times...

The easy way to solve this issue is:

  1. Open "Home"
  2. Press Ctrl+h (this will show your hidden files and folders)
  3. Navigate to .local/share/rhythmbox
  4. Delete rhythmdb.xml
  5. 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.

2
  • 9
    FYI: This will also reset play-counts and any star ratings you've given your songs
    – aidan
    Mar 12, 2015 at 1:02
  • Did you mean simply rm ~/.local/share/rhythmbox/rhythmdb.xml? Why do you complicate things? Nov 10, 2021 at 22:23
9

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

3
  • Does anyone still have the above mentioned python script? That blog is down now Apr 2, 2017 at 20:28
  • 2
    If blog.tappir.com/rhythmboxRemoveDuplicates.py doesn't download (it's down at time of commenting), the file is also available at https://raw.githubusercontent.com/chrissunny94/raspberry_pi/master/rhythmboxRemoveDuplicates.py Apr 2, 2017 at 21:36
  • 2
    Not available anymore (I get a 404 response). Jul 8, 2017 at 14:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .