Music Player Daemon

From LinuxReviews
Jump to navigationJump to search
GMPC is one of many front-ends for controlling MPD

The Music Player Daemon is a really good music player which runs in the background as a system service. It can and must be controlled by a front-end program and there are many choices for both the console and X and desktops environments like Xfce, KDE and Gnome. There's also web-based software for controlling MPD.

The MPD service[edit | edit source]

MPD will scan your music collection and make it searchable. You can use a front-end like Cantata, GMPC and a ton of others to manage playlists, adjust volume, start and stop music and so on. MPD will happily keep on playing when the program used to control it is closed (unless you press stop first, obviously).

MPD does not need to be controlled by the same machine. You can have a PI or something with MPD running connected to a surround receiver and control music playback from a phone or laptop or computer. MPD itself requires close to no resources beyond storage. You will probably need a lot of attached storage.

Features[edit | edit source]

It's features include:

  • A music database
  • Playlist
  • Optional logging
  • Optional password protection
  • Multiple audio outputs
    • Network streaming (icecast/shoutcast)
    • ALSA
    • OSS
  • On the fly volume normalization
  • Proxy and buffering when playing remote streams
  • Zeroconf which, if enabled, allows client programs to automatically find players on the local network

Drawbacks and Limitations[edit | edit source]

MPD will only allow you to configure one "music directory" in your mpd.conf[1]. You can not have two. The obvious magic trick used by many to overcome this glaring limitation is to create the one "music folder" with symbolic links[2] to all kinds of other folders.

Front-ends[edit | edit source]

There are numerous good front-end programs which allow you to control MPD. Cantata and GMPC are the best graphical programs. There are several programs for controlling MPD from a terminal too.

References[edit | edit source]

  1. mpd.conf manual
  2. Symbolic links are made with the ln command. Click here to read the fine ln manual

Links[edit | edit source]

Questions/Comments[edit | edit source]


Add your comment
LinuxReviews welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

Music Player Daemon is a daemon which runs in the background and plays music. It can be controlled by a variety of "client" software. These are the best front-ends ordered by how good they are:

Video players: SMPlayer | mpv | VLC | GNOME Videos

discontinued: Xine | GMPlayer | MPlayer

Stand-alone Audio players:

Filesystem-oriented: Audacious
Database-oriented: Elisa | Strawberry | Exaile | GNOME Music
Bankrupt and finished: Clementine | Amarok

Music Player Daemon audio player clients:

GUI: Cantata | GMPC | Xfmpc (Xfce)
ncurses: ncmpc - Command-line: mpc
Dead and berried: Sonata | KMP | Glurp