1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-23 15:07:54 +01:00

[README.md] Clarify playlist_index description

This commit is contained in:
Sergey M. 2015-09-13 19:31:20 +06:00
parent c246773599
commit ac7a1b0dfb

View File

@ -278,7 +278,7 @@ The `-o` option allows users to indicate a template for the output file names. T
- `epoch`: The sequence will be replaced by the Unix epoch when creating the file. - `epoch`: The sequence will be replaced by the Unix epoch when creating the file.
- `autonumber`: The sequence will be replaced by a five-digit number that will be increased with each download, starting at zero. - `autonumber`: The sequence will be replaced by a five-digit number that will be increased with each download, starting at zero.
- `playlist`: The name or the id of the playlist that contains the video. - `playlist`: The name or the id of the playlist that contains the video.
- `playlist_index`: The index of the video in the playlist, a five-digit number. - `playlist_index`: The sequence will be replaced by the index of the video in the playlist padded with leading zeros according to the total length of the playlist.
- `format_id`: The sequence will be replaced by the format code specified by `--format`. - `format_id`: The sequence will be replaced by the format code specified by `--format`.
The current default template is `%(title)s-%(id)s.%(ext)s`. The current default template is `%(title)s-%(id)s.%(ext)s`.