MPNotifier is a lightweight client for MPD displaying a popup notification each time a new song is played by the server. This kind of notification is usual for most of graphical MPD clients but if you prefer to use a text-mode client like ncmpc, you need to use a third-party tool like MPNotifier.
The following python packages are needed:
MPNotifier will load the file ~/.mpnrc, which a YAML file like this one:
daemon: False
once: False
debug: False
persist: True
timeout: 3
keys: True
icon: gnome-mime-audio
title: >-
%t
body: >-
<b>%b</b>
<i>%a</i>
The fields have the same names than the long form of the command line arguments, see mpn -h for explanation.
MPNotifier is free software, released under the term of the GPLv2+.
Copyright 2007-2010 Olivier Schwander
Copyright 2009-2010 Walther Maldonado