I double checked your setup back then and it was mostly intended to watch anime, shows and that sort of thing, which I don't do that often. How do you resize window without borders anyway?
Btw, from the same mpv issue page from which I stole code (https://github.com/mpv-player/mpv/issues/11183), there's a profile-cond version for mpv.conf. It doesn't work exactly how things work in files below, but instead, it instantly will seek to start after reaching eof:
[replay] profile-cond=eof_reached and pause input-commands=seek 0 absolute
If you don't mind behavior difference, then it is a nice alternative to .lua version.
@vertka@sally Have you tried defining your keybindings directly in the Lua script (like mp.add_key_binding("MBTN_RIGHT", pause_replay))? I think that would let you avoid the use of script-message.
@wakarimasen@sally yeah that was my initial thought to just add more keys in original script, but that would mean I have to edit script itself, even if it sounds more portable to me (since it won't require deal with input.conf)..