Skip to content

mpv-notify/mpv-notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

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
  • writes icon, artist, album, title to temporary files (useful for OBS)

Requirements

Install mpv, lua, ffmpeg, ffmpegthumbnailer(optionl), libnotify and ImageMagick packages

Installation

Just drop notify.lua into the folder ~/.config/scripts/lua (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.

About

MPV notifications for currently playing song.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%