Add your favorite webradio in Rhythmbox

If like me you like to listen radio while working on your computer but you don't like to have it open on a webpage. And if you find very useful the way how rhythmbox mutes itself when you get a call, you need then to add your radio in your favourite audio program. The problem is that it's not always obvious to find the url to use for the radio media. So this is how to proceed:
  • you need to install ngrep
  • run it like this :
       ngrep -d p3p1 -lqi -p -W none ^get\|^post tcp dst port 80
    
    (-d p3p1 is used to specify the interface if you have multiple choices)
  • open in your browser the page you use to listen the radio usually
  • find the stream you are looking for in ngrep's output:
  • add it to rhythmbox and you are done ;)

If like me you like to listen radio while working on your computer but you don’t like to have it open on a webpage. And if you find very useful the way how rhythmbox mutes itself when you get a call, you need then to add your radio in your favourite audio program.

The problem is that it’s not always obvious to find the url to use for the radio media.

So this is how to proceed:

  • you need to install ngrep
  • run it like this :
       ngrep -d p3p1 -lqi -p -W none ^get\|^post tcp dst port 80
    

    (-d p3p1 is used to specify the interface if you have multiple choices)

  • open in your browser the page you use to listen the radio usually
  • find the stream you are looking for in ngrep’s output:
  • add it to rhythmbox and you are done 😉

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

As MySQL Community Manager, I am an employee of Oracle and the views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

You can find articles I wrote on Oracle’s blog.