Online Jukebox

External Playback

Alternatively, you can configure the MPD server to send content to a remote streaming server such as Icecast 2 [4], which then distributes it. In this scenario, the MPD server acts as the source client. The program then does not play the content through the sound card of the MPD server and devices connected to it (e.g., hi-fi systems or sound systems), but through the sound card of any client that retrieves the contents of the streaming server.

Most modern audio players under Linux are capable of receiving streams off the web, for which you need a computer running an Icecast 2 server. On the MPD server, adjust the /etc/mpd.conf configuration file; to do so, enable the default configuration for the Icecast server in the Audio Output section by removing the hash signs from the start of the corresponding lines. After restarting the MPD server, it contacts the Icecast server and then streams content to it.

Another option is to access the MPD server from external clients in a web browser. The developers have integrated a small web server into the system, which you can also enable in the /etc/mpd.conf file. The web server is configured in the Audio Output area and is usually used with Ogg Vorbis or an MP3 encoder. The bitrate or quality option lets you adjust the quality of the playback to suit your needs. Please note that only one option can be active. Then, call the stream in the web browser on a client on the network by entering the matching URL http://server_IP:8000.


Thanks to the MPD server and Cantata duo, you can change the way you play back your favorite audio in an extremely flexible way. The MPD server is configured in a single file whose entries are well documented by the developers. Cantata is intuitive to use and does not require much training.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Sockso

    The Sockso music server offers easy listening regardless of your system or location.

  • Sayonara Player

    For a simple audio player, check out Sayonara Player, a great choice for enjoying all your favorite music, Internet radio, and podcasts.

  • Darwin Streaming Server

    Apple’s Darwin Streaming Server is a free version of the commercial Quicktime server. It can handle the seminal MP3 and MPEG-4 formats, and it has a web front-end.

  • Replace with VLC
  • Firefly Audio Streaming

    The Firefly Media Server makes streaming music and Internet radio onto your home network for iTunes or Banshee clients as easy as pie.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More