summaryrefslogtreecommitdiffstats
path: root/DOCS/man/mpv.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-27 21:46:55 +0200
committerwm4 <wm4@nowhere>2015-07-27 21:48:30 +0200
commit3452f9aeac75a2134780b5bb4a1112d44de25d50 (patch)
tree4da685536c96e459152d1388fda81f7fcfe0715a /DOCS/man/mpv.rst
parent51ca8a4b3e87cf0ab8c5a7925de8739e29617f49 (diff)
downloadmpv-3452f9aeac75a2134780b5bb4a1112d44de25d50.tar.bz2
mpv-3452f9aeac75a2134780b5bb4a1112d44de25d50.tar.xz
win32: add portable config mode
See manpage additions. The main reason for adding this is that we can't guess whether the user wants his config in his Windows profile or not. The user basically has to tell mpv what should be done, and the "portable_config" directory does this implicitly. Fixes #2042 (approximately).
Diffstat (limited to 'DOCS/man/mpv.rst')
-rw-r--r--DOCS/man/mpv.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index 55da5d9b0a..84d72b070e 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -881,6 +881,14 @@ Other config files (such as ``input.conf``) are in the same directory. See the
The environment variable ``$MPV_HOME`` completely overrides these, like on
UNIX.
+If a directory named ``portable_config`` next to the mpv.exe exists, all
+config will be loaded from this directory only. Watch later config files are
+written to this directory as well. (This exists on Windows only and is redundant
+with ``$MPV_HOME``. However, since Windows is very scripting unfriendly, a
+wrapper script just setting ``$MPV_HOME``, like you could do it on other
+systems, won't work. ``portable_config`` is provided for convenience to get
+around this restriction.)
+
Config files located in the same directory as ``mpv.exe`` are loaded with
lower priority. Some config files are loaded only once, which means that
e.g. of 2 ``input.conf`` files located in two config directories, only the