From 602105dbdae5b35dfcd7c060349b42a990bd25a8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Aug 2015 22:08:17 +0200 Subject: player: add --playlist-pos option Oddly often requested. --- DOCS/man/options.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS/man/options.rst') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index afa3eb55a8..c8b2460879 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -129,6 +129,17 @@ Playback Control Specify which chapter to start playing at. Optionally specify which chapter to end playing at. Also see ``--start``. +``--playlist-pos=`` + Set which file on the internal playlist to start playback with. The index + is an integer, with 0 meaning the first file. The value ``no`` means that + the selection of the entry to play is left to the playback resume mechanism + (default). If an entry with the given index doesn't exist, the behavior is + unspecified and might change in future mpv versions. The same applies if + the playlist contains further playlists (don't expect any reasonable + behavior). Passing a playlist file to mpv should work with this option, + though. E.g. ``mpv playlist.m3u --playlist-pos=123`` will work as expected, + as long as ``playlist.m3u`` does not link to further playlists. + ``--playlist=`` Play files according to a playlist file (Supports some common formats. If no format is detected, it will be treated as list of files, separated by -- cgit v1.2.3