summaryrefslogtreecommitdiffstats
path: root/DOCS/interface-changes.rst
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2020-02-07 17:35:48 +0200
committerAvi Halachmi (:avih) <avihpit@yahoo.com>2020-02-07 18:22:12 +0200
commit756960bf3cd6110c85b97f3edbd3bf0e2a2b91d4 (patch)
tree004dd368108cf52d8d73964f91a8ae7d86100437 /DOCS/interface-changes.rst
parent68a1b47d4d4a7d59d4f43850902d4194eb7c0552 (diff)
downloadmpv-756960bf3cd6110c85b97f3edbd3bf0e2a2b91d4.tar.bz2
mpv-756960bf3cd6110c85b97f3edbd3bf0e2a2b91d4.tar.xz
js: require: directory-scripts: first look at <dir>/modules/
Also, add the function mp.get_script_directory() to let scripts know if they're loaded as a directory and where.
Diffstat (limited to 'DOCS/interface-changes.rst')
-rw-r--r--DOCS/interface-changes.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 3e0347bc7f..efbfdc510e 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -28,6 +28,8 @@ Interface changes
- directories in ~/.mpv/scripts/ (or equivalent) now have special semantics
(see mpv Lua scripting docs)
- names starting with "." in ~/.mpv/scripts/ (or equivalent) are now ignored
+ - js modules: ~~/scripts/modules.js/ is no longer used, global paths can be
+ set with custom init (see docs), dir-scripts first look at <dir>/modules/
--- mpv 0.32.0 ---
- change behavior when using legacy option syntax with options that start
with two dashes (``--`` instead of a ``-``). Now, using the recommended