Pure Lua implementation of MPRIS for mpv. This plugin implements the MPRIS D-Bus interface which allows controlling mpv using media keys and through desktop environments. It is an alternative to mpv-mpris if you dislike using a binary code plugin.
Your mpv must be compiled with LuaJIT (which is the usual case) to use this plugin. PUC Lua is not supported.
Just copy mpris.lua into the script directory.