HI all.
When I have added radio streams to Rhythmbox, but where can I find the playlist file with the saved links in, and whats the filename?
Thanks
HI all.
When I have added radio streams to Rhythmbox, but where can I find the playlist file with the saved links in, and whats the filename?
Thanks
Last edited by colobix; August 17th, 2008 at 12:58 AM.
They are in ~/.gnome2/rhythmbox/rhythmdb.xml
That file contains all of your music library though so it's pretty huge.
You want the entries that have:
<entry type="iradio">
Hmm, are you sure? I can't find the file rhythmdb.xml when I search for it. Not even a Gnome2 directory in root.
Last edited by colobix; August 17th, 2008 at 01:00 AM.
You can also get the details in rhythmbox by right clicking on the radio stream and viewing the properties if that's all you want.
Yeah it should be in /home/yourname/.gnome2/rhythmbox
The .gnome2 directory is hidden as it has a "." in front so you have to select view hidden files or press Ctl+H.
I found it now. Thank you.
But I hoped the radio stations was in an own playlist file.
If all of the streams are http ones then you can use this to output a file just containing them.
Open a terminal (applications - accessories - terminal) and enter:
That will put them all in their own text file called radio_stations.txt.Code:cd .gnome2/rhythmbox grep "http://" rhythmdb.xml > radio_stations.txt
There might be some other entries that are mms:// or something so you could append the file with:
Just change the mms to the different protocols used.Code:grep "mms://" rhythmdb.xml >> radio_stations.txt
Last edited by ad_267; August 17th, 2008 at 01:22 AM.
OK cool. But is it possible to add more protocols like mms:// and rtsp:// too. How will the command look like then?
Thank you so much.
It worksfine now
Last edited by colobix; August 17th, 2008 at 01:39 AM.
Bookmarks