Skip to main content

Mopidy extension for showing desktop notifications

Project description

Latest PyPI version CI build status Test coverage

Mopidy extension for showing desktop notifications on track change.


Install by running:

python3 -m pip install Mopidy-Notify

See for alternative installation methods.


Before starting Mopidy, you must add configuration for Mopidy-Notify to your Mopidy configuration file:

enabled = true

The following configuration values are available:


Maximum icon dimensions (width/heigh) in pixels for which track images/album covers are fetched. For some tracks, images in multiple dimensions are available. Mopidy-Notify will try to use the largest image possible for a notification. Since some backends provide huge track images (as large as 3000x3000 pixels for Bandcamp MP3s), use this value to restrict which images are considered for display. If no track images are smaller than max_icon_size, the smallest image available will be used.


File path to an icon or the name of a default icon used as fallback if no track image/album cover is available for the currently playing track.


A template string used to build a notification summary. See below for values substituted.


Same as track_summary, but supplies the more detailed message content of a notification.

The following values are set by default:

enabled = true
max_icon_size = 200
fallback_icon = notification-audio-play
track_summary = ${track}
track_message = ${artists} — ${album}

The following variables are substituted for properties of the currently playing track when encountered in an template string:


Name of the currently playing track.


The album in which this track is contained.

$artists, $composers, $performers:

Comma separated list of artists/composers/performers for this track.


This track’s genre.


The current running time of this track, formatted [HH:]MM:SS. Hours are omitted of running time is below one hour.


Release date.


Track bitrate in kbit/s.


Track comment.


Musicbrainz ID.

Project resources


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Mopidy-Notify-0.2.1.tar.gz (13.5 kB view hashes)

Uploaded source

Built Distribution

Mopidy_Notify-0.2.1-py3-none-any.whl (11.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page