Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I connected my RPi onto my stero, so I can listen to my music but I want to listen to a few internet-radio-streams. The streams are available in ASX, MP3 and some of theme through SHOUTCAST I've already installed MPD and ICECAST and they are working correctly. How can I listen to these audio streams ?

share|improve this question
add comment

2 Answers

You need a client that can connect to MPD and tell it what to play.

The simplest is the command line client mpc that can run on the Raspberry Pi. After installing it, you would do something like:

$ mpc add http://62.204.145.218:8000/radio1rock64
$ mpc play

The URL to add will of course be different - it will be the address you set up in Icecast for your stream.

There are many other MPD clients available, for example MPDroid that runs on Android phones, and can connect over a local Wifi network.

share|improve this answer
    
I tried it but I get the following error: error: Timeout –  Peter Dec 10 '12 at 17:32
1  
Make sure can access the internet via the Pi. –  Munkeh Dec 10 '12 at 20:20
    
It is conected to internet and I even tried it with another URL-stream and they all results in an timeout error –  user3704 Dec 10 '12 at 20:47
    
Like @Munkeh suggested try to check if your internet connection is up and running (e.g. ping www.google.pl). –  codewarrior Dec 11 '12 at 8:01
    
Wow I don't no why but I tried again and now it's working fine. This stream shout://www.kickradio.nl:9000 don't work get the following error: error: unsupported URI scheme I replaced shout with http but that don't work either. Is a shout-stream not working in MPD? –  Peter Dec 11 '12 at 9:27
add comment

There are different ways to listen internet radio streams.

mkdir ~/.pyradio
echo "Romantik Radyo, http://rdshout.turkuvazgroup.net:7000/listen.pls" >> stations.csv
pyradio

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.