An MPV OSC script, based on mpv-osc-morden, with some minor changes including making the skip_back/forward buttons go to the previous/next chapter like in MPV's default OSC and fixing the play/pause button.
Locate your MPV folder. It is typically located at \%APPDATA%\mpv\
on Windows and ~/.config/mpv/
on Linux/MacOS. See the Files section in mpv's manual for more info.
Put mordenx.lua into your mpv "~~/scripts/" folder, and remove other osc scripts,
then put Material-Design-Iconic-Font.ttf
in the "~~/fonts" folder.
in mpv.conf:
osc = no
border = no # Optional, but recommended
Material-Design-Iconic-Font.ttf
can also be downloaded from here.
edit osc.conf in "~~/script-opts/" folder, however many options are changed, so refer to the user_opts variable in the script file for details.
like the built-in script, some buttons may accept multiple mouse actions, here is a list:
- Left mouse button: seek to chosen position.
- Right mouse button: seek to the head of chosen chapter
- Left mouse button: go to previous/next chapter.
- Right mouse button: show chapter list.
- Left mouse button: play previous/next file.
- Right mouse button: show playlist.
- Left mouse button/Right mouse button: cycle to next/previous track.
- Middle mouse button: show track list.
- Left mouse button: display time in milliseconds
- Left mouse button: display total time instead of remaining time