mpd (music player daemon/musicpd) and icecast2

remember, no other audio output is required if your icecast server is running. the alsa output used in the link is just for fallback. if you do not want any output (audio) on the server itself, use only the shout output.

now, as it happened with me, may be you will encounter an error saying no audio device specified while playing music (i got this error with gmpc). if that’s the case, use mpc (cmd: mpc play).

depending on the buffer limit, the delay between the server and client might be upto 15 secs.

also, if you get “The file you requested could not be found” page on opening any streams, its true. you have fucked up somewhere, for instance, not keeping the user in the audio_output configuration as “source”, but “admin”, which was my admin user for icecast server :D.

2 thoughts on “mpd (music player daemon/musicpd) and icecast2

  1. Everything was fine with my Icecast streming MPD then I started to get the following error.

    “The file you requested could not be found”


    user “source” # optional
    As you can see it is optional but I commented it out, just to test. It use to work before an I am not sure why it does not now. Where in the “/etc/icecast2/icecast.xml” would you place “source”. It does not have a directive.


  2. [SOLVED] I needed to enable both outputs and start playing a song for the stream to work.

    audio_output {
    type “alsa”
    name “My ALSA Device”
    device “hw:0,0” # optional
    format “44100:16:2” # optional


    audio_output {
    type “shout”…………

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s