diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2013-04-16 15:13:29 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2013-04-16 15:13:29 +0200 |
commit | d281274bf250065f876bb4f75fb6f711e1a26eba (patch) | |
tree | 57eb7a54818883d395becbf6922b012220eda970 /README.md | |
parent | bce878a7c1678ac698ecd556b2c77a1e2f2306df (diff) | |
download | youtube-dl-d281274bf250065f876bb4f75fb6f711e1a26eba.tar.gz youtube-dl-d281274bf250065f876bb4f75fb6f711e1a26eba.zip |
Add a playlist_index key to the info_dict, can be used in the output template
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -145,6 +145,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. - `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_index`: The index of the video in the playlist, a five-digit number. The current default template is `%(id)s.%(ext)s`, but that will be switchted to `%(title)s-%(id)s.%(ext)s` (which can be requested with `-t` at the moment). |