1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/TOOLS/lua
Ricardo Constantino b60817f9dd
TOOLS/autoload: allow disabling through script-opts
This allows leaving autoload in auto-loaded scripts and to be used
in a special profile like "pseudo-gui" without being troublesome
to disable the behavior in profiles that get applied after
pseudo-gui.

Ex:
[someprofile]
script-opts=autoload-disabled=yes
2016-12-05 21:09:28 +00:00
..
ao-null-reload.lua TOOLS/lua/ao-null-reload.lua: send ao-reload on audio-device-list change 2016-01-28 06:49:36 -08:00
audio-hotplug-test.lua ao_coreaudio: add support for hotplug notifications 2015-02-14 12:51:15 +01:00
autocrop.lua options: deprecate 'lua' based options/dirs for 'script' 2014-12-15 04:39:56 +01:00
autodeint.lua TOOLS: make autodeint detect telecine in parallel 2015-07-16 16:14:58 -07:00
autoload.lua TOOLS/autoload: allow disabling through script-opts 2016-12-05 21:09:28 +00:00
cycle-deinterlace-pullup.lua TOOLS/lua: remove tabs from some lua scripts 2014-10-21 00:55:15 +02:00
drc-control.lua Remove trailing whitespaces 2015-05-15 11:02:44 +02:00
observe-all.lua TOOLS/lua/observe-all: explicitly observe all options 2016-09-23 20:49:23 +02:00
ontop-playback.lua TOOLS: add a lua script for a -stay on top only during playback- mode 2015-03-23 20:45:12 +01:00
pause-when-minimize.lua w32_common: support the "window-minimized" property 2015-03-09 11:46:06 +01:00
README.md TOOLS/lua/README: link to list of user scripts on wiki 2016-03-18 22:07:30 +01:00
status-line.lua TOOLS/lua/status-bar: update use of a deprecated property 2015-05-25 22:01:34 +02:00

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.)