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/man/input.rst | |
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/man/input.rst')
-rw-r--r-- | DOCS/man/input.rst | 7 |
1 files changed, 7 insertions, 0 deletions
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: |