You can write Lua/Javascript and bind it to a hotkey and run your own scripts, pass in current video, playback position, download subtitles etc.
[0]: I use mpv.net on Windows, too, but PotPlayer has better UX.
You can write Lua/Javascript and bind it to a hotkey and run your own scripts, pass in current video, playback position, download subtitles etc.
[0]: I use mpv.net on Windows, too, but PotPlayer has better UX.
Most other language are not like that, they rely on global state and want to take full control your program. The interpreter also tends to be full of functions you can't get rid of, so they are impossible to secure. Even simple things like spawning two independent interpreters are often not supported. A language like Python really wants you to extend Python with modules, not extend your program with Python.
Long story short, writing a Lua interpreter is just a couple of lines of code: https://www.lua.org/pil/24.1.html
[1] https://www.elderscrollsonline.com/
[2] https://www.esoui.com/downloads/info1643-BanditsUserInterfac...
Also, you can look for a python transpiler to lua, or any that you like. Take your pick.