Music Player Daemon

Music Player Daemon
Developer(s) Max Kellermann
Initial release 2003
Stable release 0.19.12 (December 15, 2015 (2015-12-15)[1]) [±]
Preview release none [±]
Written in C++ (since 0.18)[2]
Operating system Unix-like (BSDs, Linux, OS X,…) Windows
Type Audio player
License GPL (free software)
Website www.musicpd.org

Music Player Daemon (MPD) is a free and open source music player server. It plays audio files, organizes playlists and maintains a music database. In order to interact with it, a separate client is needed.

Design

MPD simply runs in the background playing music from its playlist. Client programs communicate with MPD to manipulate playback, the playlist, and the database. It is not a full-featured music player program such as Amarok, but its clients can serve such role.

MPD uses a flat file database to maintain the basic music file information when it is not running. Once the daemon is started, the database is kept completely in-memory and no hard disk access is necessary to look up or search for local audio files. Usually, music files must be below the music root directory and are only added to the database when the update command is sent to the server. Playback of arbitrary files is only allowed for local clients which are connected to the server via Unix Domain Sockets. MPD does not provide a built-in tag editor; this functionality is handled by clients or external programs, though 3rd party patches do exist to add this functionality to the server.[3]

The client–server model provides several advantages over all-inclusive music players. Clients may communicate with the server remotely over an intranet or over the Internet. The server can be a headless computer located anywhere on the network. Music playback can continue seamlessly when not using X or restarting X. Different clients can be used for different purposes – a lightweight client left open all the time for controlling playback with a more fully featured client used for intensive database searches. Several clients can use the same database, even running simultaneously – side-by-side, remotely or under different user accounts.

Features

Clients

MPD has a variety of front-ends which communicate with the server using a custom protocol[4] over a TCP connection. Clients usually implement different types of interfaces.

Console
Graphical

For a more complete list, see the Clients MPD Wiki.[17]

Simple clients can script the mpc program to issue commands to the server. Some clients run within a web browser and can be located on the same computer as the server, requiring only a browser be installed on the client machine. There is a client implemented as a Firefox add-on,[18] one as a Xfce panel plugin,[19] and one as a Wii application,[20] and one as a Windows Store application for Windows 8/Windows RT.

Libraries exist to interface with MPD from many programming languages, including C, Python, Ruby, Perl, Lua and Haskell.[21]

See also

References

  1. Kellermann, Max (2015-12-15). "ver 0.19.12 (2015/12/15)". mpd cgit. mpd cgit. Retrieved 2015-12-15.
  2. http://www.musicpd.org/news/2013/10/mpd-0-dot-18-released/
  3. Tag editing patches, nomius.blogspot.com, 2008-01-02, retrieved 2013-03-18
  4. Protocol Reference – Music Player Daemon Community Wiki
  5. Client:Mpc - Music Player Daemon Community Wiki, mpd.wikia.com, 2013-02-28, retrieved 2013-03-18
  6. Client (2008-11-28), Client:Ncmpc - Music Player Daemon Community Wiki, mpd.wikia.com, retrieved 2013-03-18
  7. Client (2008-11-28), Client:Ncmpc - Music Player Daemon Community Wiki, mpd.wikia.com, retrieved 2013-03-18
  8. ncmpcpp MPD client, ncmpcpp.rybczak.net, retrieved 2013-03-18
  9. Ario, Ario-player.sourceforge.net, retrieved 2013-03-18
  10. Gnome Music Player Client, gmpclient.org, retrieved 2013-11-13
  11. Sonata Music Client for MPD
  12. Cantata – Qt4 / KDE4 Music Player Client, code.google.com, retrieved 2013-11-24
  13. qmobilempd – MPD (musicpd) client, code.google.com, retrieved 2013-03-18
  14. mpdqml plasmoid, kde-look.org, retrieved 2013-03-18
  15. Gimmix
  16. Client:MpdLIRC - Music Player Daemon Community Wiki, mpd.wikia.com, retrieved 2013-03-18
  17. MPD Clients Wiki, mpd.wikia.com, 2013-02-26, retrieved 2013-03-18
  18. Music Player Minion, mpd.wikia.com, 2010-02-27, retrieved 2013-03-18
  19. xfce4-mpc-plugin, goodies.xfce.org, 2012-06-30, retrieved 2013-03-18
  20. WiiMPC, WiiBrew.org, 2009-08-10, retrieved 2013-03-18
  21. MPD Client Libraries, mpd.wikia.com, 2013-03-05, retrieved 2013-03-18

External links

This article is issued from Wikipedia - version of the Tuesday, September 29, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.