diff options
author | Guido Cella <guido@guidocella.xyz> | 2021-07-21 11:06:41 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-07-21 13:19:28 +0000 |
commit | 1d1d1fbff9648e9adf7acf571514abf618ffc40f (patch) | |
tree | 9a3fde28a5fe5e2f5465fe7b7fdecddc24a03b4c /DOCS | |
parent | ccb87ad6374c69beb7e88357003bb13cb427a6ee (diff) | |
download | mpv-1d1d1fbff9648e9adf7acf571514abf618ffc40f.tar.bz2 mpv-1d1d1fbff9648e9adf7acf571514abf618ffc40f.tar.xz |
options: add watch-later-options
This allows configuring which options are saved by quit-watch-later.
Fixes #4126, #4641 and #5567.
Toggling a video or audio filter twice would treat the option as changed
because the backup value is NULL, and the current value of vf/af is a
list with one empty item, so obj_settings_list_equal had to be changed.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 2 | ||||
-rw-r--r-- | DOCS/man/options.rst | 22 |
2 files changed, 24 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index a3539c156e..b4927470fa 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -40,6 +40,8 @@ Interface changes - remove `--icc-contrast` and introduce `--icc-force-contrast`. The latter defaults to the equivalent of the old `--icc-contrast=inf`, and can instead be used to specifically set the contrast to any value. + - add a `--watch-later-options` option to allow configuring which + options quit-watch-later saves --- mpv 0.33.0 --- - add `--d3d11-exclusive-fs` flag to enable D3D11 exclusive fullscreen mode when the player enters fullscreen. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index c1b0ba03af..0745eba0e9 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -851,6 +851,28 @@ Program Behavior - ``--reset-on-next-file=all`` Try to reset all settings that were changed during playback. +``--watch-later-options=option1,option2,...`` + The options that are saved in "watch later" files if they have been changed + since when mpv started. These values will be restored the next time the + files are played. The playback position is always saved as ``start``, so + adding ``start`` to this list has no effect. + + When removing options, existing watch later data won't be modified and will + still be applied fully, but new watch later data won't contain these + options. + + This is a string list option. See `List Options`_ for details. + + .. admonition:: Examples + + - ``--watch-later-options-remove=fullscreen`` + Resuming a file won't restore the fullscreen state. + - ``--watch-later-options-remove=volume,mute`` + Resuming a file won't restore the volume or mute state. + - ``--watch-later-options=`` + Resuming a file won't restore any option except the starting + position. + ``--write-filename-in-watch-later-config`` Prepend the watch later config files with the name of the file they refer to. This is simply written as comment on the top of the file. |