There's a Internet Radio Station called Sun FM in Sri Lanka. Among those radio stations running in Sri Lanka, Sun FM is one of my best radio stations I really like to listen everyday.

I'm listening it by online. But the problem came when I'm trying to listen it via RhythemBox Player. when I'm going to run that, error comes and says "Couldn't start playback, This appears to be a text file."

Here is the URL of Sun FM Online Radio - http://www.sunfm.lk/fb_frame.php

And this is the URL of Sun FM web site - http://www.sunfm.lk/

Guys.., how can I add this station in the correct way and listen? What do I want to do to configure this problem?

  • 1
    You realize the .php is the filetype, and the stream is likely embedded inside a player, which is subsequently embedded within that .php file? You'd have to see if that radio station actually has links to their feeds that are actually feeds, not the PHP page that holds a player for said feed.
    – Thomas Ward
    Sep 24, 2012 at 4:04
  • @Lord of Time - If there isn't a link for a radio station, then that means we can't listen it from the RhythemBox Radio. isn't it? Or are there any way to generate a link for that kind of stations? Sep 24, 2012 at 4:32
  • They have to provide the stream. If they only provide it via an online player, that suggests they either don't want to, can't, or don't know how to provide a dedicated stream that you can listen to externally. In some cases you can guess the stream, but that's usually with really old stream players, not recent ones.
    – Thomas Ward
    Sep 24, 2012 at 4:38

2 Answers 2


Actually, I know this is an old issue, but I fugured out how to "guess" any stream possible...

On your radio station´s webpage, using chrome, right click the player, select inspect. somewhere there shall be a flag named http://xxxxxxxxxxx.xx:1183274>

For example, I wanted to listen to Radio Horizonte (A Chilean station, very nice btw) But Adding it to Rhytmbox was a pain in the ass, until I thought of that.

this is their streaming link http://nowplaying.mediastre.am/station/5124f1b4ed596bde7d000017

and this is what you´re looking for..


Hope this would work out


Happy to see someone who uses ubuntu in sri Lanka

  • Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – guntbert
    Oct 11, 2013 at 16:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .