diff options
author | Dudemanguy <random342@airmail.cc> | 2023-01-08 00:16:15 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-01-09 16:37:14 +0000 |
commit | 6471afecd0277138efdb3a80dec12dbfff75c72f (patch) | |
tree | 3dbf1c722b0c473e53b44d6b415fd15a8459deb1 /DOCS | |
parent | c4ec47a65e5840643024ba056ba4db20a4300ed2 (diff) | |
download | mpv-6471afecd0277138efdb3a80dec12dbfff75c72f.tar.bz2 mpv-6471afecd0277138efdb3a80dec12dbfff75c72f.tar.xz |
player: don't force saving start in watch-later-options
The watch-later mechanism has always unconditionally wrote start to
files to save the playback position. When this was later expanded to
watch-later-options, this logic was kept in place. But we don't actually
have to unconditionally write this and can allow users to remove the
option from the list if they want to. The start value still requires
some special handling; it should always be written if possible
regardless of the value changing. However, we can just place it within
the default set of options for watch-later-options so it can be removed
like any other.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 4 | ||||
-rw-r--r-- | DOCS/man/options.rst | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index f1788147a4..6644638b29 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -41,6 +41,10 @@ Interface changes - deprecate `--drm-atomic` - add `--demuxer-hysteresis-secs` - add `--video-sync=display-tempo` + - the `start` option is no longer unconditionally written by + watch-later. It is still written by default but you may + need to explictly add `start` depending on how you have + `--watch-later-options` configured. --- mpv 0.35.0 --- - add the `--vo=gpu-next` video output driver, as well as the options `--allow-delayed-peak-detect`, `--builtin-scalers`, diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index bd8037379b..b5bfd6e4e9 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1032,8 +1032,8 @@ Watch Later ``--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. + files are played. Note that the playback position is saved via the ``start`` + option. 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 @@ -1049,8 +1049,7 @@ Watch Later ``--watch-later-options-remove=mute`` The volume and mute state won't be saved to watch later files. - ``--watch-later-options-clr`` - No option will be saved to watch later files except the starting - position. + No option will be saved to watch later files. ``--write-filename-in-watch-later-config`` Prepend the watch later config files with the name of the file they refer |