mpdnd is a notification daemon for MPD.
mpdnd does not display notifications itself, it simply emits XDG Desktop Notifications Specification notifications.
Install via Cargo:
$ cargo install mpdnd
A configuration file at ${XDG_CONFIG_HOME}/mpdnd/config.toml
must be created to
look like this:
[mpd]
host = "localhost"
port = 6600
library = "~/music"
See etc/default.toml
for options and default values.
See mpdnd --help
for full details.
To listen for MPD song changes and emit notificiations:
$ mpdnd
To emit a notification for the current song:
$ mpdnd -n