Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I wipe the music database of Rhythmbox? I have imported lots of music into Rhythmbox. Now I want Rhythmbox to forget everything that I've imported.

share|improve this question
    
Related answers.launchpad.net/rhythmbox/+question/7645 –  N.N. Aug 8 '11 at 17:23
2  
Incredible that after all this time this feature is still missing from Rhythmbox! –  HDave Sep 18 '13 at 13:34
add comment

1 Answer 1

up vote 21 down vote accepted

Close Rhythmbox and delete the Rhythmbox database in ~/.local/share/rhythmbox/rhythmdb.xml.

If you also want Rhythmbox to forget your library paths (the directories where it automatically looks for music), then you need to delete them from dconf:

gsettings set org.gnome.rhythmbox.rhythmdb locations "['file:///dev/null']"

You can then set new paths in the Rhythmbox GUI, under Edit -> Preferences -> Music.

(Note that

gsettings reset org.gnome.rhythmbox.rhythmdb locations

does not work correctly, since then Rhythmbox tries to be "smart" and uses your home directory as a default value. Using /dev/null above prevents this; alternatively you could directly set the library paths using gsettings set).

share|improve this answer
    
What is the name of the database file? –  N.N. Aug 8 '11 at 20:41
    
@N.N.: I am not 100% sure (I use banshee). I will try to find it and update my answer. –  RolandiXor Aug 8 '11 at 20:49
2  
I would appreciate that. Note that it was not me that downvoted your answer. Your answer needs more details to be a good one but does not deserve a downvote. –  N.N. Aug 8 '11 at 20:53
1  
Hi, if Roland Taylor's answer is correct, and it is, then the Rhythmbox database file's name is rhythmdb.xml. Yes? –  grahammechanical Aug 10 '11 at 1:05
1  
@ntc2 it's probably stored in in dconf. –  RolandiXor Jul 4 '13 at 20:09
show 6 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.