Accessing internet radio (or eRadio) stations in Ubuntu is pretty simple. Most of the media players installed by default in Ubuntu can handle the task, and you can easily find and install many other great apps (like Amarok) via Synaptic Package Manager.
The current default for this is “Movie Player” (actually called Totem), and it does the job well, but there is another app installed in every system that can do even better: the default “Music Player“, Rhythmbox.
What we’ll look at is the basics of eRadio in Ubuntu (using the default Totem Movie Player), how to set up a web radio station in Rhythmbox, and why it’s a good idea to do so.
Finding web stations to your liking is a simple matter of a few minutes in Google, and when you find some you’d like to listen to, they generally have a clearly visible link to click.

When you click the stream link, Firefox will ask what you want to do with it, so just go with the default of opening it in Totem (or “Movie Player” as it will be listed).

Totem will open, and the station will be visible in the Playlist pane. You might even find it lets you access more than one station, as some will have US (English) and European (often German) versions. Simply double-click the station name and it will start streaming music within a second or two.
Now, while Totem does the job, and all that was pretty quick and painless, there isn’t a way to bookmark the station or anything, and from the lack of any additional information you wouldn’t even be aware many stations broadcast the artist and song names along with the music data. This is why setting up stations in Rhythmbox is a great idea, but you’ll still probably need the help of Totem to do so.
As you probably know, when Firefox wants to know what to do with a specific file, you can actually choose a program other than the suggested default. Usually, a list of apps will even be presented to you, but in the case of links that point to a .pls (“MP3 ShoutCast playlist“) file, you probably won’t find a way to open it in Rhythmbox. That’s because (currently) no apps at all are suggested for that filetype, and manually specifying the command /usr/bin/rhythmbox may not help. Same goes for other formats, like .wax (“Windows Media Audio Redirector“) files (more on those at the end of this article), but there is a simple way to get around this.

Now, when you click a link that points to a playlist file, the URL will be something like http://www.heavymetalradio.com/listen.pls, and (currently) Rhythmbox seems incapable of handling that (which is why nothing happens). But if you open the station in Totem, you can right-click the station and choose Copy Location, and you’ll find the URL is something like http://www.heavymetalradio.com:8000 (the numbers on the end are the port to connect to).

When you go to Rhythmbox, just right-click the Radio icon in the left pane and choose New Internet Radio Station…

Once you’ve pasted in the address and clicked Add, you will see your station(s) in the right-pane. Once again, just double-click the desired station to begin streaming, which you can of course pause at any time, and it will begin streaming again when you click Play.

Now you will notice that not only do you have the name of the station in the title bar, but also the name of the artist and song currently playing. That information is also visible beneath the media control buttons.

It doesn’t end there, as you can do one more thing, and that is customise the “cover” artwork. You’ve probably noticed when accidentally hovering your mouse over the artwork area that a tooltip saying “Drop artwork here” appears, and this is what we’ll do for the radio station (so pick a picture you like, or download their logo).
The option for album cover artwork is actually supplied by a Rhythmbox plugin, which should be installed by default; if it isn’t, you should be able to get it easy enough in Synaptic by searching for “rhythmbox“. If you don’t have artwork visible, it is still probably installed, just not enabled, so go to Edit > Plugins and enable Cover art.

Then simply drag a picture file from an open folder window onto that area, and it will be displayed every time you activate that station.

As you can see, that’s all pretty easy to do, only takes a few minutes, and is well worth it if you want to access your favourite internet radio stations in a flash (not to mention have the current track info broadcast along with the music).
°ºÒθÓº°¤°ºÒθÓº°¤°ºÒθÓº°
Some notes on WAX files
When you go to open a station via a .wax file in Firefox, it should go to open as expected in Movie Player.

Once again, all you need to do is copy the URL in Totem, create a new station in Rhythmbox, and paste in the address.

But you may find that the name of the station doesn’t automatically appear, but is instead just the URL.

But that’s only a minor issue, as all you have to do is right-click the station and choose Properties to edit its information.

Simply replace the URL (or whatever text you want to replace) next to Title: and click Close.

Your new station will now have the proper name, or any that you desire.

This is a great guide but so far all the radio station websites I’ve checked all use a streaming player of some sort and I’m not finding any sort of file to open. Unfortunately these web browser-based players like to hog my old cpu. Is there any way to add stations such as these to Rhythmbox?
Good question, though I’m hardly the person to ask, hehehe (that guide was done with the one and only station I’ve ever accessed online, ever, in any way or form, hehe!). I don’t know anything about the playlist/ShoutCast file extension, except that Totem had no problems with it, and that Rhythmbox did, until I manually set up a station with the URL with port number I copied from Totem. All I can say is Rhythmbox obviously didn’t need to know how to handle .pls files, as long as you gave it an URL it could use. So I would look for mention of these direct URLs on the sites, or even email them asking for them; they will look like http://www.heavymetalradio.com:8000 or maybe http://87.98.172.215:8024. Obviously I’m no expert on this, but those that stream from a player within the web page in the browser might do things so differently, there is no URL that can be used, but I would always email the guys to make sure. At least for those you come across in the future that open via a playlist file, you’ll know how to copy the URL once it loads in Totem for use in Rhythmbox. Sorry I couldn’t be of more help, but hopefully guys at the online stations will be. Cheers. (PS: You can always try out this method with the link I’ve supplied; you can always delete the station later)
FYI OzzyFrank -
In looking for radio stations to add to Rhythmbox following your procedures I stumbled across an old link that I had to http://www.windowsmedia.com/radioui/home.aspx. I just converted to Ubuntu from Windows a month or so ago but I’m glad I didn’t delete this link. Anyway to make a long post shorter when you click on the “Listen” option next to one of the radio stations Firefox will give you the option to open a .wax file with Movie Player as the default program. After that just follow the steps that you already outlined in your article to add this station to Rhythmbox. I’ve only tried one station so far but it worked just fine. I’m guessing that the Ubuntu Restricted Extras package probably has to be installed so that Ubuntu can recognize and utilize the .wax file format intended for Windows media player but I’m not sure.
Hi. I just gave adding a station via .wax file a try, and it was just as easy as for the .pls file. Only difference was the name never came up automatically, so had to manually change the displayed name from http://69.175.19.7:8080/. I’m not sure if this is simply a default feature (ie: handling of .wax files) or, as you said, part of ubuntu-restricted-extras (since that package is one of the first things I install on any new system). Thanks for your input on this – I will edit this article later to include .wax files. Cheers.
Regarding the WAX format, I may be wrong but I don’t think ubuntu-restricted-extras is needed for this (though should be installed on all systems nonetheless!) as this is a web standard, so should be built into Firefox. While Ubuntu does get Totem to open those files, WAX files are only “redirectors” – basically just URLs – which is all Totem needs to start streaming audio.
Hey, thanks a lot for the great guide! Been trying to figure out how to add more radio stations into rhythmbox for a while now and your guide worked like a charm.
Hi,
I listen to Absolute Classic Rock Radio station in Rhythmbox. But it does not snow the current playing song information. Is this station dependent? Is there anyway to fix this? The URI for the station is http://network.absoluteradio.co.uk/core/audio/ogg/live.pls?service=vcbb
Yes, that would rely on the station to stream that info, which that one doesn’t. The only thing you could do is contact the station and ask them to consider doing this in the near future.
I do not even know how I stopped up here, but I assumed this submit was once great. I do not recognise who you are however certainly you’re going to a well-known blogger if you happen to aren’t already. Cheers!
Well, shucks, thanks! I do try to make informative and easy-to-follow articles. Thanks for noticing, hehe!
Hello! Would you mind if I share your blog with my facebook
group? There’s a lot of folks that I think would really enjoy your content. Please let me know. Thanks
No worries whatsoever! Glad you like my articles, and hope your friends benefit from them too!