From b86bfc907f9ca14fdbfd0cdbca5ba88cfc660fc6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 1 Feb 2020 18:10:07 +0100 Subject: lua: set package path if loaded from a script directory And document the shit. This uses code from commit bc1c024ae032e5b5c. --- DOCS/man/mpv.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'DOCS/man/mpv.rst') 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 -- cgit v1.2.3