MPD(1) Music Player Daemon MPD(1)

mpd - MPD documentation

mpd [options] [CONF_FILE]

MPD is a daemon for playing music. Music is played through the configured audio output(s) (which are generally local, but can be remote). The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

MPD searches for a config file in $XDG_CONFIG_HOME/mpd/mpd.conf then ~/.mpdconf then ~/.mpd/mpd.conf then /etc/mpd.conf or uses CONF_FILE.

Read more about MPD at http://www.musicpd.org/

Output a brief help message.
Kill the currently running mpd session. The pid_file parameter must be specified in the config file for this to work.
Don't read from the configuration file.
Don't detach from console.
Print messages to stderr.
Used on Linux only so MPD can reliably detect whether it was started as a systemd service. Users shouldn't use this switch on the command line.
Verbose logging.
Print version information.

$XDG_CONFIG_HOME/mpd/mpd.conf
User configuration file (usually ~/.config/mpd/mpd.conf).
/etc/mpd.conf
Global configuration file.

mpd.conf(5), mpc(1)

If you find a bug, please report it at https://github.com/MusicPlayerDaemon/MPD/issues/

Max Kellermann

2003-2025 The Music Player Daemon Project

March 21, 2025 0.24.1