mirror of
https://github.com/mpv-player/mpv
synced 2025-01-30 11:42:04 +00:00
91b9dcf800
Lua script that enables handling of certain commands depending on where the mouse pointer is. Mostly useful for mouse-wheel handling via input.conf. Example: MOUSE_BTN3 script-message-to zones commands "*-left: add volume +5" "default: seek +10" MOUSE_BTN4 script-message-to zones commands "*-left: add volume -5" "default: seek -10" Will changes behavior of Mouse Wheel Up/Down to alter volume if mouse is in the left zone of the window, but re-adds the default to seek if wheel is used on other parts. |
||
---|---|---|
.. | ||
audio-hotplug-test.lua | ||
autocrop.lua | ||
autodeint.lua | ||
autoload.lua | ||
cycle-deinterlace-pullup.lua | ||
drc-control.lua | ||
observe-all.lua | ||
ontop-playback.lua | ||
pause-when-minimize.lua | ||
README.md | ||
status-line.lua | ||
zones.lua |
mpv lua scripts
The lua scripts in this folder can be loaded on a one-time basis by adding the option
--script=/path/to/script.lua
to mpv's command line.
Where appropriate, they may also be placed in ~/.config/mpv/scripts/ from where they will be automatically loaded when mpv starts.
Some of these are just for testing mpv internals.