From c2e8f8fb89efe82a653832ba31ce74a5ff431c12 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 14 Feb 2014 13:49:10 +0100 Subject: lua: auto-load scripts from ~/.mpv/lua/ This is like passing them to --lua. --- DOCS/man/en/mpv.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DOCS') 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 ===================== -- cgit v1.2.3