Skip to content

mpd | Cheatsheet

Music Player Daemon 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 client program is needed. The MPD distribution includes mpc, a simple command line client. MPD is used in proprietary audio hardware.


Installation

echo "media-sound/mpd ao bzip2 chromaprint flac lame libmpdclient libsamplerate \
    libsoxr modplug mpg123 nfs pipe pulseaudio qobuz recorder samba sid \
    sndio soundcloud sqlite udisks" > /etc/portage/package.use/mpd
emerge --ask mpd

Dump version

mpd --version

Start MPD

rc-service mpd start

To start MPD at boot time, add it the default runlevel

rc-update add mpd default