Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.11 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.11 KB

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)
  • extracts cover art using ffmpeg

Requirements

Install mpv, lua, ffmpeg, libnotify and ImageMagick packages

Installation

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

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

License

mpv-notify was originally written by Roland Hieber . I have simply refactored it according to my needs. You may use it under the terms of the MIT license.