summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-26 03:20:35 +0100
committerwm4 <wm4@nowhere>2015-01-26 03:20:35 +0100
commit78f1f2017c4984d8c47465db6fdd61e465cf7fc9 (patch)
treec75a078233e4e0032344a65b0bc86aa0bd7b8f30 /DOCS
parent189087c2ed6b2fabcf4b4f4c3e51f408672cde94 (diff)
downloadmpv-78f1f2017c4984d8c47465db6fdd61e465cf7fc9.tar.bz2
mpv-78f1f2017c4984d8c47465db6fdd61e465cf7fc9.tar.xz
manpage: describe some more config directory artifacts
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/mpv.rst36
1 files changed, 27 insertions, 9 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index 6c19698d03..79b796a861 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -769,6 +769,26 @@ FILES
and files with no ``.lua`` extension are ignored. The ``--load-scripts=no``
option disables loading these files.
+``~/.config/mpv/watch_later/``
+ Contains temporary config files needed for resuming playback of files with
+ the watch later feature. See for example the ``Q`` key binding, or the
+ ``quit_watch_later`` input command.
+
+ Each file is a small config file which is loaded if the corresponding media
+ file is loaded. It contains the playback position and some (not necessarily
+ all) settings that were changed during playback. The filenames are hashed
+ from the full paths of the media files. It's in general not possible to
+ extract the media filename from this hash. However, you can set the
+ ``--write-filename-in-watch-later-config`` option, and the player will
+ add the media filename to the contents of the resume config file.
+
+``~/.config/mpv/lua-settings/osc.conf``
+ This is loaded by the OSC script. See the `ON SCREEN CONTROLLER`_ docs
+ for details.
+
+ Other files in this directory are specific to the corresponding scripts
+ as well, and the mpv core doesn't touch them.
+
Note that the environment variables ``$XDG_CONFIG_HOME`` and ``$MPV_HOME`` can
override the standard directory ``~/.config/mpv/``.
@@ -779,18 +799,16 @@ FILES ON WINDOWS
================
On win32 (if compiled with MinGW, but not Cygwin), the default config file
-locations are different:
+locations are different. They are generally located under ``%APPDATA%/mpv/``.
+For example, the path to mpv.conf is ``%APPDATA%/mpv/mpv.conf``, which maps to
+a system and user-specific path, for example
-``%APPDATA%/mpv/mpv.conf``
- Preferred mpv config file. This maps to a system and user-specific path,
- for example ``C:\users\USERNAME\Application Data\mpv\mpv.conf``. You can
- find the exact path by running ``echo %APPDATA%\mpv\mpv.conf`` in cmd.exe.
+ ``C:\users\USERNAME\Application Data\mpv\mpv.conf``
-``%APPDATA%/mpv/input.conf``
- key bindings (see `INPUT.CONF`_ section)
+You can find the exact path by running ``echo %APPDATA%\mpv\mpv.conf`` in cmd.exe.
-``%APPDATA%/mpv/scripts/``
- equivalent of ``~/.config/mpv/scripts/`` on Unix.
+Other config files (such as ``input.conf``) are in the same directly. See the
+`FILES`_ section above.
The environment variable ``$MPV_HOME`` completely overrides these, like on
UNIX.