summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-14 13:49:10 +0100
committerwm4 <wm4@nowhere>2014-02-14 14:01:27 +0100
commitc2e8f8fb89efe82a653832ba31ce74a5ff431c12 (patch)
tree7cb00723c87f66ac0c24dddec83aebd3f81d0d6d /DOCS
parent414c4f93225652fe62541cf6fe37873776670544 (diff)
downloadmpv-c2e8f8fb89efe82a653832ba31ce74a5ff431c12.tar.bz2
mpv-c2e8f8fb89efe82a653832ba31ce74a5ff431c12.tar.xz
lua: auto-load scripts from ~/.mpv/lua/
This is like passing them to --lua.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/mpv.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/en/mpv.rst b/DOCS/man/en/mpv.rst
index 4109fdabe4..21ef068e0e 100644
--- a/DOCS/man/en/mpv.rst
+++ b/DOCS/man/en/mpv.rst
@@ -603,6 +603,11 @@ FILES
``~/.mpv/input.conf``
input bindings (see ``--input-keylist`` for the full list)
+``~/.mpv/lua/``
+ All files in this directly are loaded as if they were passed to the
+ ``--lua`` option. They are loaded in alphabetical order, and sub-directories
+ and files with no ``.lua`` extension are ignored.
+
EXAMPLES OF MPV USAGE
=====================