mpv-notify / mpv-notify

MPV notifications for currently playing song.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Lua 100.0%