diff options
author | Guido Cella <guido@guidocella.xyz> | 2023-10-07 16:53:52 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-09 15:09:35 +0000 |
commit | 81dea9031dec05559624b6d2a8ea9bf89667f755 (patch) | |
tree | ba78bb2183bccf8e73fff01932e0029057888c82 /DOCS | |
parent | bcb9ed56fae7da59b495c5bddd7576821627dffb (diff) | |
download | mpv-81dea9031dec05559624b6d2a8ea9bf89667f755.tar.bz2 mpv-81dea9031dec05559624b6d2a8ea9bf89667f755.tar.xz |
command: add playlist-next-playlist and playlist-prev-playlist
playlist-prev-playlist goes to the beginning of the previous playlist
because this seems more useful and symmetrical to
playlist-next-playlist. It does not go to the beginning when the current
playlist-path starts with the previous playlist-path, e.g. with mpv
--loop-playlist foo/, which expands to foo/{1..9}.zip, the current
playlist path foo/1.zip beings with the playlist-path foo/ of {2..9}.zip
and thus playlist-prev-playlist goes to 9.zip rather than to 2.zip.
Closes #12495.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 1 | ||||
-rw-r--r-- | DOCS/man/input.rst | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 62d271bcb1..d398ab7987 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -98,6 +98,7 @@ Interface changes - `--config-dir` no longer forces cache and state files to also reside in there - deprecate `--demuxer-cue-codepage` in favor of `--metadata-codepage` - change the default of `metadata-codepage` to `auto` + - add `playlist-next-playlist` and `playlist-prev-playlist` commands --- 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 b4c133953e..00ce20c846 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -422,6 +422,13 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_). force Terminate playback if the first file is being played. +``playlist-next-playlist`` + Go to the next entry on the playlist with a different ``playlist-path``. + +``playlist-prev-playlist`` + Go to the first of the previous entries on the playlist with a different + ``playlist-path``. + ``playlist-play-index <integer|current|none>`` Start (or restart) playback of the given playlist index. In addition to the 0-based playlist entry index, it supports the following values: |