summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-26 03:20:35 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-26 16:10:24 +0900
commit4f2104961e047c68a7fda4a854bf295bb97a4413 (patch)
tree80d4e6be387d9c0a6b0a2df35a3139a10b95184c
parentc2ef2bcb900aa4ddff1237cc9a24371f000a58f4 (diff)
downloadmpv-4f2104961e047c68a7fda4a854bf295bb97a4413.tar.bz2
mpv-4f2104961e047c68a7fda4a854bf295bb97a4413.tar.xz
manpage: describe some more config directory artifacts
Conflicts: DOCS/man/mpv.rst
-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 cde006574d..dfafe16645 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -770,6 +770,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/``.
@@ -780,18 +800,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/lua/``
- equivalent of ``~/.config/mpv/lua/`` 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.