mirryi / mpdnd

MPD notification daemon.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build status Crates.io

mpdnd

mpdnd is a notification daemon for MPD.

An example notification

mpdnd does not display notifications itself, it simply emits XDG Desktop Notifications Specification notifications.

Installation

Install via Cargo:

$ cargo install mpdnd

Configuration

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.

Usage

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

About

MPD notification daemon.

License:MIT License


Languages

Language:Rust 100.0%