Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol. For more information, refer to the official website.


  1. Connect to your slot through SSH

  2. Downloads the latest release of MPD

     git clone git://
  3. Build MPD

     cd mpd
     ./configure --prefix=$HOME
     make install
  4. Copy the example configuration file

     cp ~/share/doc/mpd/mpdconf.example ~/.mpdconf
  5. Create all the files that you will need to run mpd

     mkdir -p ~/.config/mpd/playlists   
     touch ~/.config/mpd/{database,log,pid,state,sticker.sql}
  6. Edit ~/.mpdconf and specify the files that you just created:

     nano ~/.mpdconf
     db_file            "~/.config/mpd/database"
     log_file           "~/.config/mpd/log"
     music_directory    "~/files"
     playlist_directory "~/.config/mpd/playlists"
     pid_file           "~/.config/mpd/pid"
     state_file         "~/.config/mpd/state"
     sticker_file       "~/.config/mpd/sticker.sql"
  7. Uncomment the httpd output section (line 267-277). Specify whatever options suit you. If you want to stream lossless FLAC files, set encoder to "flac", format to "44100:16:2" and comment out quality and bitrate. Set the port to 13291.

  8. Specify a password (on line 169 by default) if you don't want anyone else to be able to listen to or control your music (this is optional, but increases your security).

  9. Specify the port. Change the TCP port on line 89 to 26582.

     port "26582"

    Double check that the port in the httpd section is 13291.

  10. Start mpd.


(If you want to stop it in the future, simply run mpd --kill)


There are many clients that can control MPD for you (do an internet search for 'MPD client'). For android, MPDroid is a popular choice which in addition to controlling MPD can also play the httpd stream. Ncmpcpp is a popular desktop choice (in order to play the http stream with ncmpcpp, control the whatbox MPD server with ncmpcpp -h -p 26582, and after configuring a local mpd server add the stream by running mpc add and then connect to your local mpd server with ncmpcpp (without any options added)). XBMC also has an MPD client with support for streaming.