1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-03 05:31:34 +00:00
mpv/player/lua
Avi Halachmi (:avih) 70c9d8d5d7 stats.lua: page 4 (keys): fix "excluding stats keys" - attempt 2
Page 4 bindings listing wants to exclude the interactive keys of the
stats script itself - so that they don't hide the normal keys which
are bound when stats is not interactive.

It did so by testing that the bound command includes stats/__key
which is how it usually looks when a script binds keys.

However, if a script uses a name for the binding - like stats.lua does
for the interative keys (because it later removes them by name when
interactive mode ends), then the command has stats/name rather than
stats/__key...

To fix this, we change the names of the forced interactive bindings
to start with __forced_, and that's now also what the page-4 listing
excludes.
2021-07-20 01:00:03 +03:00
..
assdraw.lua
auto_profiles.lua auto_profiles: fix compile_cond on lua 5.1 2020-12-08 17:29:19 +00:00
console.lua console: use wl-paste on Wayland 2020-12-14 22:43:34 +00:00
defaults.lua lua: fix timers comment (no-op) 2021-07-13 13:11:34 +03:00
options.lua lua: windows got what users crave 2020-05-27 15:01:39 +02:00
osc.lua osc: expose osc-visibility via shared-script-properties 2021-07-06 16:12:36 +03:00
stats.lua stats.lua: page 4 (keys): fix "excluding stats keys" - attempt 2 2021-07-20 01:00:03 +03:00
ytdl_hook.lua ytdl_hook: improve handling of json parsing errors 2021-05-29 19:54:03 +03:00