/mpv-notify

now-playing-desktop notifications for mpv

Primary LanguageLua

mpv-notify

Adds desktop notifications to the mpv media player, which show metadata like artist, album name and track name when the track changes.

Features

  • shows artist, title and album name (as far as detected by mpv)
  • tries to find load cover art in the same folder, or loads it from coverartarchive.org and caches it locally.

Requirements

On recent Debians, do a sudo apt-get install lua-socket libnotify-bin imagemagick

Installation

Just drop notify.lua into the folder ~/.mpv/scripts (create it when neccessary), and mpv will find it. Optionally, you can add it to mpv's command line:

mpv --script=/path/to/notify.lua <files and options>

License

mpv-notify was written by Roland Hieber , you can use it under the terms of the MIT license.