_ _
___ | |__ __ _ _______ | |_
/ _ \| '_ \ / _` |_ / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
\___/|_| |_|\__,_/___\___/ \__|
mpd —
music player daemon - usage, config,
clients and tips
MPD is a music daemon which can be crontrolled through different
clients.
MPD provides a sample config file which can be found at
/etc/mpd.conf. Uncomment and edit the following lines as needed.
music_directory MUSIC_DIR
playlist_directory "PLAYLIST_DIR"
db_file "DATABASE_FILE"
log_file "LOG_FILE"
pid_file "PID_FILE"
state_file "STATE_FILE"
sticker_file "SQL_FILE"
port "6600"
Multiple outputs can be enabled.
audio_output {
type "alsa"
name "My ALSA Device"
mixer_type "software" # optional
}
audio_output {
type "pulse"
name "My Pulse Output"
}
An httpd streaming output can be configured to be played using the
url http://HOST:PORT.
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "8000"
bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
bitrate "128" # do not define if quality is defined
format "44100:16:1"
max_clients "0" # optional 0=no limit
}
| mpd [CONFIG_FILE] |
| start mpd. CONFIG_FILE can be specified. |
| mpd --kill [CONFIG_FILE] |
| kill mpd session. If CONFIG_FILE is given, kill session running from
CONFIG_FILE |
(back to top)
| mpc |
| command line client. |
| ncmpc |
| ncurses client. |
| ncmpcpp |
| ncurses client inspired by ncmpc (written in c++). |
| vimpc |
| ncurses client with vi-like bindings. |
(back to top)
mpd has the requirement fmt from slackbuilds which conflicts with
the core fmt, editing this requirement should avoid the conflict. The
version 0.23.16 on the repository does not build, the version can be changed
to 0.24.6 which works fine.
(back to top)
- The package is available on F-Droid.
- Add a profile connected to the MPD server > Connect
- This package can also stream: "Enable streaming from server"
> Set URL.
- Pull the playlist up > Menu > Start/Stop Streaming.
(back to top)
| 2026-03-23 |
: Moved mpc section to its own document |
| 2025-11-24 |
: Added Android client. |
| 2025-11-23 |
: Created. |