Mpv is not loading and playing lyrics files, even though they're in the same directory with the same name but different
.lrc file extension.
and I even have the following in my mpv.conf file
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
it seems that even with these options, mpv doesn't load LyRiCs (
what I had to do is make a little mpv plugin script, and put it in the
scripts directory which's in the
config directory of mpv.
-- load lrc files function file_exists(name) local f=io.open(name,"r") if f~=nil then io.close(f) return true else return false end end function GetLrcPath(name) return name:gsub("(%..+)$", ".lrc") end function open_handler() lrcPath = GetLrcPath(mp.get_property("path")) if file_exists(lrcPath) then mp.set_property("options/sub-files", lrcPath) end end mp.register_event("start-file", open_handler)