summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2014-12-15 01:31:30 +0200
committerwm4 <wm4@nowhere>2014-12-15 04:39:56 +0100
commit39e04e929483847a3e0722d86d53f69837ed99db (patch)
tree56901ce1b9d1cb35f05d3e059d2aca83319491ff /TOOLS
parent06828f71a134e0b880601665c0daea78e6523633 (diff)
downloadmpv-39e04e929483847a3e0722d86d53f69837ed99db.tar.bz2
mpv-39e04e929483847a3e0722d86d53f69837ed99db.tar.xz
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 <wm4@nowhere>
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/lua/README.md6
-rw-r--r--TOOLS/lua/autocrop.lua2
-rw-r--r--TOOLS/lua/autodeint.lua2
3 files changed, 5 insertions, 5 deletions
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=<number of seconds>
+-- --script-opts=autocrop.detect_seconds=<number of 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=<number of seconds>
+-- --script-opts=autodeint.detect_seconds=<number of seconds>
--
-- to mpv's arguments. This may be desirable to allow idet more
-- time to collect data.