diff options
author | Dudemanguy <random342@airmail.cc> | 2023-05-02 19:42:23 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-05-09 20:37:17 +0000 |
commit | 4502522a7aee093c923e79a65e4684ea2634af30 (patch) | |
tree | d7855be2c4cfb6a16edc784da0e6f3dad29ee667 /DOCS/man/mpv.rst | |
parent | 7c4c9bc86f55f4d1224814fbeafdee8f1c3c3108 (diff) | |
download | mpv-4502522a7aee093c923e79a65e4684ea2634af30.tar.bz2 mpv-4502522a7aee093c923e79a65e4684ea2634af30.tar.xz |
player: use XDG_CACHE_HOME by default
This adds cache as a possible path for mpv to internally pick
(~/.cache/mpv for non-darwin unix-like systems, the usual config
directory for everyone else). For gpu shader cache and icc cache,
controlling whether or not to write such files is done with the new
--gpu-shader-cache and --icc-cache options respectively. Additionally,
--cache-on-disk no longer requires explicitly setting the --cache-dir
option. The old options, --cache-dir, --gpu-shader-cache-dir, and
--icc-cache-dir simply set an override for the directory to save cache
files. If unset, then the cache is saved in XDG_CACHE_HOME.
Diffstat (limited to 'DOCS/man/mpv.rst')
-rw-r--r-- | DOCS/man/mpv.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index 63042e2925..a468fabba3 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -461,6 +461,8 @@ Name Meaning ``~~desktop/`` the path to the desktop (win32, macOS) ``~~exe_dir/`` win32 only: the path to the directory containing the exe (for config file purposes; ``$MPV_HOME`` overrides it) +``~~cache/`` the path to application cache data (``~/.cache/mpv/``) + On some platforms, this will be the same as ``~~home/``. ``~~state/`` the path to application state data (``~/.local/state/mpv/``) On some platforms, this will be the same as ``~~home/``. ``~~old_home/`` do not use |