mpv/TOOLS/lua
Guido Cella 948faa5482 lua: don't pass nil as the second argument of mp.get_property_number
This doesn't do anything because nil is already the default value of
unavailable properties.
2024-06-08 23:10:37 +02:00
..
README.md
acompressor.lua
ao-null-reload.lua TOOLS/ao-null-reload.lua: fix lint warnings 2024-06-02 22:26:00 +02:00
audio-hotplug-test.lua audio-hotplug-test.lua: fix some lint warnings 2024-05-12 20:06:39 +02:00
autocrop.lua TOOLS/autocrop.lua: fix lint warnings 2024-06-02 22:26:00 +02:00
autodeint.lua TOOLS/autodeint.lua: fix lint warnings 2024-06-02 22:26:00 +02:00
autoload.lua autoload.lua: always accept current file as a valid file 2024-06-04 15:39:18 +02:00
command-test.lua TOOLS/command-test.lua: fix lint warnings 2024-06-02 22:26:00 +02:00
cycle-deinterlace-pullup.lua TOOLS/cycle-deinterlace-pullup.lua: fix lint warnings 2024-06-02 22:26:00 +02:00
nan-test.lua TOOLS/nan-test.lua: fix lint warnings 2024-06-02 22:26:00 +02:00
observe-all.lua TOOLS/observe-all.lua: fix lint warning 2024-06-02 22:26:00 +02:00
ontop-playback.lua ontop-playback.lua: fix unused variable warning 2024-05-12 20:06:39 +02:00
osd-test.lua TOOLS/osd-test.lua: fix lint warning 2024-06-02 22:26:00 +02:00
pause-when-minimize.lua pause-when-minimize.lua: fix unused variable warning 2024-05-12 20:06:39 +02:00
skip-logo.lua skip-logo.lua: fix some lint warnings 2024-05-12 20:06:39 +02:00
status-line.lua lua: don't pass nil as the second argument of mp.get_property_number 2024-06-08 23:10:37 +02:00
test-hooks.lua TOOLS/test-hooks.lua: fix lint warning 2024-06-02 22:26:00 +02:00

README.md

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.

This is only a small selection of internally maintained scripts. Some of them are just for testing mpv internals, or serve as examples. An extensive user-edited list of 3rd party scripts is available here:

https://github.com/mpv-player/mpv/wiki/User-Scripts

(Anyone can add their own scripts to that list.)