summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-19 20:54:40 -0500
committerDudemanguy <random342@airmail.cc>2023-09-21 16:06:29 +0000
commit4b2276b730c8542649b665aaec187e1c7e3b2612 (patch)
tree3cc59b916f1223b308a867ed9595dd2fc24d7ee1 /DOCS
parent29b481da54f3779b70381ae3ff79bea0b39d110f (diff)
downloadmpv-4b2276b730c8542649b665aaec187e1c7e3b2612.tar.bz2
mpv-4b2276b730c8542649b665aaec187e1c7e3b2612.tar.xz
command: stop restarting playback when writing to playlist-pos
e9e93b4dbe748cd341a6fbea355e6ba013ada81b added a warning about writing the same value to the playlist-pos property that in the future it would stop restarting playback. Instead, you should use the playlist-play-index command for that. Well go ahead and drop the old deprecated behavior now and do what wm4 wanted this to do: just ignore if the same value is written again.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst2
-rw-r--r--DOCS/man/input.rst7
2 files changed, 5 insertions, 4 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 2c2681b833..3037e9a46c 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -79,6 +79,8 @@ Interface changes
- remove deprecated `drop-frame-count` and `vo-drop-frame-count` property aliases
- remove the ability to write to the `display-fps` property (use `override-display-fps`
instead)
+ - writing the current value to playlist-pos will no longer restart playback (use
+ `playlist-play-index` instead)
--- mpv 0.36.0 ---
- add `--target-contrast`
- Target luminance value is now also applied when ICC profile is used.
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 9e0e08fff8..0847b64225 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -2772,10 +2772,9 @@ Property list
(Before mpv 0.33.0, instead of returning -1, this property was unavailable
if no playlist entry was current.)
- Writing the current value back to the property is subject to change.
- Currently, it will restart playback of the playlist entry. But in the
- future, writing the current value will be ignored. Use the
- ``playlist-play-index`` command to get guaranteed behavior.
+ Writing the current value back to the property will have no effect.
+ Use ``playlist-play-index`` to restart the playback of the current entry if
+ desired.
``playlist-pos-1`` (RW)
Same as ``playlist-pos``, but 1-based.