Results 1 to 5 of 5

Thread: How to set Rhythmbox to play radio on startup

  1. #1
    Join Date
    Mar 2010
    Beans
    5

    How to set Rhythmbox to play radio on startup

    Hi,

    I recently installed Lucid. It is a wonderful OS and I use it with a great pleasure. I have only one very small issue:

    it there any way to set Rhythmbox to start playing an added radio station, after I boot up my laptop and press play on the Rhythmbox tray icon (i have tried shutting down with played radio, hoping that Rhythmbox will remember the played state)

    Thank you in advance.

  2. #2
    Join Date
    Jul 2005
    Beans
    463

    Re: How to set Rhythmbox to play radio on startup

    I would also like to know that. You can try Gnome-schedule to start Rhythmbox on each reboot, however, I don't know the command for starting a particular radio station with it on reboot. Maybe someone else could help.

  3. #3
    Join Date
    Jul 2005
    Beans
    463

    Re: How to set Rhythmbox to play radio on startup

    Actually, I've just figured out a way around that.

    Forget gnome-schedule, it doesn't seem to do what it was designed for. Try this: go to System/Preferences/Startup Applications and click on Add Startup Program. In the Command box type the following:
    Code:
    rhythmbox-client --play-uri=http://your.radio.station.address.here
    For example, if you'd like a Jazz FM radio station in London, try the following:
    Code:
    rhythmbox-client --play-uri=http://mp3-jazz.as34763.net/listen.pls
    To have the song/artist name pop up while playing:
    Code:
    rhythmbox-client --play-uri=http://mp3-jazz.as34763.net/listen.pls --print-playing
    This will launch Rhythmbox upon each boot/log in and you don't even need to press the play button.
    Last edited by tubunu; June 7th, 2010 at 12:19 AM.

  4. #4
    Join Date
    Feb 2011
    Beans
    1

    Re: How to set Rhythmbox to play radio on startup

    #!/bin/bash
    rhythmbox-client --play-uri=http://www.abc.net.au/res/streaming/audio/mp3/local_brisbane.pls username 9 # JOB_ID_33

    # after the commard i put the username to run the program and a number from what I can tell this tells bash that it is running an X-application

  5. #5
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: How to set Rhythmbox to play radio on startup

    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

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
  •