Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Radio Playlist on Rhythmbox

  1. #1
    Join Date
    Aug 2008
    Beans
    844

    Radio Playlist on Rhythmbox

    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.

  2. #2
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Radio Playlist on Rhythmbox

    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">

  3. #3
    Join Date
    Aug 2008
    Beans
    844

    Re: Radio Playlist on Rhythmbox

    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.

  4. #4
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Radio Playlist on Rhythmbox

    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.

  5. #5
    Join Date
    Aug 2008
    Beans
    844

    Re: Radio Playlist on Rhythmbox

    I found it now. Thank you.
    But I hoped the radio stations was in an own playlist file.

  6. #6
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Radio Playlist on Rhythmbox

    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:
    Code:
    cd .gnome2/rhythmbox
    grep "http://" rhythmdb.xml > radio_stations.txt
    That will put them all in their own text file called radio_stations.txt.
    There might be some other entries that are mms:// or something so you could append the file with:
    Code:
    grep "mms://" rhythmdb.xml >> radio_stations.txt
    Just change the mms to the different protocols used.
    Last edited by ad_267; August 17th, 2008 at 01:22 AM.

  7. #7
    Join Date
    Aug 2008
    Beans
    844

    Re: Radio Playlist on Rhythmbox

    OK cool. But is it possible to add more protocols like mms:// and rtsp:// too. How will the command look like then?

  8. #8
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Radio Playlist on Rhythmbox

    Quote Originally Posted by colobix View Post
    OK cool. But is it possible to add more protocols like mms:// and rtsp:// too. How will the command look like then?
    Yeah you can use this:
    Code:
    egrep "(http://)|(mms://)|(rtsp://)" rhythmdb.xml > radio_stations.txt
    Note the "egrep" instead of "grep".

  9. #9
    Join Date
    Aug 2008
    Beans
    844

    Re: Radio Playlist on Rhythmbox

    Thank you so much.
    It worksfine now
    Last edited by colobix; August 17th, 2008 at 01:39 AM.

  10. #10
    Join Date
    Apr 2007
    Beans
    29
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Radio Playlist on Rhythmbox

    Quote Originally Posted by colobix View Post
    Thank you so much.
    It worksfine now
    Hi, currently I'm not able to play rstp:// streams in my Rhythmbox.

    Are you able to play it?

    Can you repeat your solution here?

    Thanks.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •