summaryrefslogtreecommitdiffstats
path: root/DOCS/man/mpv.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-01 18:10:07 +0100
committerwm4 <wm4@nowhere>2020-02-01 18:43:27 +0100
commitb86bfc907f9ca14fdbfd0cdbca5ba88cfc660fc6 (patch)
treebf66182903417ddb097dda852c91f737e8f09fae /DOCS/man/mpv.rst
parentda38caff9c0bec4745cef16b7904e26e51a4539b (diff)
downloadmpv-b86bfc907f9ca14fdbfd0cdbca5ba88cfc660fc6.tar.bz2
mpv-b86bfc907f9ca14fdbfd0cdbca5ba88cfc660fc6.tar.xz
lua: set package path if loaded from a script directory
And document the shit. This uses code from commit bc1c024ae032e5b5c.
Diffstat (limited to 'DOCS/man/mpv.rst')
-rw-r--r--DOCS/man/mpv.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index 9cc0726639..286c56392c 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -1242,10 +1242,11 @@ For Windows-specifics, see `FILES ON WINDOWS`_ section.
``~/.config/mpv/scripts/``
All files in this directory are loaded as if they were passed to the
- ``--script`` option. They are loaded in alphabetical order. Directory entries
- other than files are ignored. Files with unknown extension lead to an
- initialization error. Files with ``.disable`` extension are ignored. The
- ``--load-scripts=no`` option disables loading these files.
+ ``--script`` option. They are loaded in alphabetical order.
+
+ The ``--load-scripts=no`` option disables loading these files.
+
+ See `Script location`_ for details.
``~/.config/mpv/watch_later/``
Contains temporary config files needed for resuming playback of files with