diff options
author | Guido Cella <guido@guidocella.xyz> | 2024-01-11 00:43:12 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-04 15:12:02 +0000 |
commit | e2284fba180fe33f399835f1d1afdb7871ebef4c (patch) | |
tree | 0cba505e6304fae08c155de9027b401b61a80e51 /DOCS/interface-changes.rst | |
parent | 27cb193f0e87014fbf5121e34da462b46975e53c (diff) | |
download | mpv-e2284fba180fe33f399835f1d1afdb7871ebef4c.tar.bz2 mpv-e2284fba180fe33f399835f1d1afdb7871ebef4c.tar.xz |
command: add load-config-file
Unlike set include mpv.conf, this works after playback has started. It
can be used to auto reload the configuration, e.g. in vim:
autocmd BufWritePost ~/.config/mpv/mpv.conf silent !echo load-config-file %:p | socat - /tmp/mpvsocket
Partially fixes #6362.
Diffstat (limited to 'DOCS/interface-changes.rst')
-rw-r--r-- | DOCS/interface-changes.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 918c2d7f44..635dedfc74 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -42,6 +42,7 @@ Interface changes - add `forced` choice to `subs-with-matching-audio` - remove `--term-remaining-playtime` option - change fallback deinterlace to bwdif + - add the command `load-config-file` --- mpv 0.37.0 --- - `--save-position-on-quit` and its associated commands now store state files in %LOCALAPPDATA% instead of %APPDATA% directory by default on Windows. |