Back to services

mpd

Daemon to remotely play music, stream music, handle and organize playlists. Many clients available.

View alternatives to mpd
Suggest edit
Open source
Self-hostable
GPL-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

MPD (Music Player Daemon) is a server-side music player. It runs as a background daemon that reads your music library, decodes audio and plays it. Playback is controlled by separate clients over a network protocol. This separates the playback logic from the user interface: the server can stay running on one machine, while clients can be command-line tools, desktop programs, web apps or mobile apps.

Key Features

  • Server-side playback: Music plays on the machine running MPD. Playback doesn't stop when a client disconnects.
  • Network protocol control: Any client that implements the MPD protocol can control it. The official website provides the protocol specification and client libraries in several languages, making it easy to develop your own client.
  • Multiple format support: Many audio formats are supported through plugins and libraries. The keywords on the official website list MP3, Ogg Vorbis, FLAC, WavPack and Opus, and radio and streaming are supported too.
  • Rich client ecosystem: The clients page on the official website lists a large number of third-party clients. Ones that often appear in the website's news include the terminal client ncmpc, the web clients myMPD and hympd, and mpdscribble for scrobbling listening history.
  • Ongoing maintenance: The 0.24 series still receives frequent bugfix releases.

Target Users and Use Cases

  • Users who want to set up an always-on music player on a home server, a Raspberry Pi or a dedicated music machine.
  • Linux users and enthusiasts who prefer something lightweight and scriptable, and who like to control playback from the command line or an interface of their choice.
  • Users who want to control the same speaker from a phone, the web or multiple devices.
  • Developers who need to integrate music playback control into their own programs.

Core Strengths

  • Daemon mode uses few resources, making it well suited to running in the background for long periods.
  • Playback and control are decoupled, so you are free to choose any client.
  • The protocol is public and ready-made client libraries exist, making extension and integration easy.
  • It is open-source software with an active community, and has discussions and an issue tracker on GitHub.

Installation and Deployment

  • The official website offers source package downloads, and there is a download page explaining how to get it. Many Linux distributions also include an MPD package in their repositories. For specific installation methods, refer to the download page on the official website.
  • Configuration, audio output setup and usage instructions are in the official user manual at mpd.readthedocs.io, available in stable and development versions.
  • After installation, you first need to configure the music directory and audio output, then start the daemon, and then connect with any compatible client.

Things to Note

  • MPD itself has no graphical interface, so it must be used with a client.
  • Music library management, interface style and some extended features depend on the client you choose.
  • If you expose the service over a network, pay attention to access control and security. The website's news has mentioned releases that fixed security vulnerabilities, so it is advisable to upgrade to the latest version promptly.