Mopidy extension for displaying the Trackinfo (Song, Artist and Album) in notifications in either the Notification Center of Mac OS X 10.8 and higher, using the command-line tool terminal-notifier , or via libnotify on Linux systems, using notify-send (usually bundled with libnotify).
Install the mopidy-notifier
package from the
mopidy/mopidy Homebrew tap:
brew install mopidy-notifier
Now you should be all set up!
Alternatively, first install terminal-notifier via Homebrew:
brew install terminal-notifier
Then install mopidy-notifier
from PyPI:
pip install mopidy-notifier
The extension is enabled by default when it is installed. To disable it, add the following to your Mopidy config file:
[notifier] enabled = false
The following configuration values are available:
notifier/enabled
: If the extension should be eneabled or not. Defaults totrue
.notifier/on_start
: Whether a notification should be displayed on mopidy start. Defaults totrue
.notifier/on_start_message
: The notification's message displayed on mopidy start. Defaults toStarting...
.notifier/on_stop
: Whether a notification should be displayed on mopidy close. Defaults totrue
.notifier/on_stop_message
: The notification's message displayed on mopidy start. Defaults toShutting down...
.notifier/message_format
: Format of the notification main message. Defaults to{artists} - {album}
on OSX and{song}\\n{artists} - {album}
on Linux.notifier/subtitle_format
: Format of the notification's subtitle. Only available on OSX. Defaults to{song}
.notifier/album_art
: Whether or not the album art for the current song should be fetched and sent with the notification. Defaults tofalse
.notifier/album_art_size
: Size of the album art icon sent to the notification. Defaults to64
.notifier/default_album_art
: Path to the default image when no album art could be fetched.
- Fixes a bug with displaying the songname on Linux
- Now displays the songname
- Support for Linux/libnotify.
- Require Mopidy >= 0.18.
- Initial release.