From 39e04e929483847a3e0722d86d53f69837ed99db Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Mon, 15 Dec 2014 01:31:30 +0200 Subject: options: deprecate 'lua' based options/dirs for 'script' - --lua and --lua-opts change to --script and --script-opts - 'lua' default script dirs change to 'scripts' - DOCS updated - 'lua-settings' dir was _not_ modified The old lua-based names/dirs still work, but display a warning. Signed-off-by: wm4 --- TOOLS/lua/README.md | 6 +++--- TOOLS/lua/autocrop.lua | 2 +- TOOLS/lua/autodeint.lua | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'TOOLS') diff --git a/TOOLS/lua/README.md b/TOOLS/lua/README.md index 5cd6a54c59..f7cdf2a590 100644 --- a/TOOLS/lua/README.md +++ b/TOOLS/lua/README.md @@ -4,9 +4,9 @@ mpv lua scripts The lua scripts in this folder can be loaded on a one-time basis by adding the option - --lua=/path/to/script.lua + --script=/path/to/script.lua to mpv's command line. -Where appropriate, they may also be placed in ~/.config/mpv/lua from where -they will be automatically loaded when mpv starts. +Where appropriate, they may also be placed in ~/.config/mpv/scripts/ from +where they will be automatically loaded when mpv starts. diff --git a/TOOLS/lua/autocrop.lua b/TOOLS/lua/autocrop.lua index cbc4c252ff..35ca618c10 100644 --- a/TOOLS/lua/autocrop.lua +++ b/TOOLS/lua/autocrop.lua @@ -21,7 +21,7 @@ -- The default delay between insertion of the cropdetect and -- crop filters may be overridden by adding -- --- --lua-opts=autocrop.detect_seconds= +-- --script-opts=autocrop.detect_seconds= -- -- to mpv's arguments. This may be desirable to allow cropdetect more -- time to collect data. diff --git a/TOOLS/lua/autodeint.lua b/TOOLS/lua/autodeint.lua index d834f96a91..395ac6b3c2 100644 --- a/TOOLS/lua/autodeint.lua +++ b/TOOLS/lua/autodeint.lua @@ -19,7 +19,7 @@ -- -- The default detection time may be overridden by adding -- --- --lua-opts=autodeint.detect_seconds= +-- --script-opts=autodeint.detect_seconds= -- -- to mpv's arguments. This may be desirable to allow idet more -- time to collect data. -- cgit v1.2.3