2 ms·
mpv supports both Lua and Javascript scripting, with more or less the same API for both. The wiki lists 10 scripts from the community written in Javascript v
by catalogia 6y ago
mpv supports both Lua and Javascript scripting, with more or less the same API for both. The wiki lists 10 scripts from the community written in Javascript vs a few hundred written in Lua. There are probably network effects in play; people choose Lua because that allows them to mine snippets of code from a larger collection of userscripts. Even so though, I think it's a testament to Lua.
https://github.com/mpv-player/mpv/wiki/User-Scripts https://github.com/mpv-player/mpv/wiki/User-Scripts