mpv/TOOLS/lua
wm4 6064720011 player: "subprocess" command should stop immediately in idle mode
The description of the "playback_only" field in the "subprocess" command
says "you can't start it outside of playback". This did not work
correctly: if the player was started in idle mode in the first place,
the subprocess was allowed to run even with playback_only=yes.

This is a bug, and this change fixes it. Add a test for this to
command-test.lua.

For #7025.
2019-10-04 16:30:48 +02:00
..
README.md TOOLS/lua/README: link to list of user scripts on wiki 2016-03-18 22:07:30 +01:00
acompressor.lua acompressor.lua: Convert to use mp.options and lavfi filter bridge 2017-08-07 11:42:20 +02: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 command: drop "audio-out-detected-device" property 2017-10-09 15:48:47 +02:00
autocrop.lua TOOLS/autocrop.lua: fix cropdetect black limit for 10-bit videos 2017-08-17 20:43:25 +01:00
autodeint.lua TOOLS/lua/autodeint: update to lavfi-bridge 2017-08-21 18:12:10 +01:00
autoload.lua autoload.lua: Configurable autoload types 2019-10-02 12:48:56 +02:00
command-test.lua player: "subprocess" command should stop immediately in idle mode 2019-10-04 16:30:48 +02:00
cycle-deinterlace-pullup.lua
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
skip-logo.lua video: add vf_fingerprint and a skip-logo script 2019-09-19 20:37:05 +02:00
status-line.lua TOOLS/lua/status-line: improve and update 2017-08-04 09:07:37 +01: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.)