diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2015-09-25 22:02:48 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2015-09-25 22:02:48 +0200 |
commit | 4c917d0314f0442fd17d6f8ec8e583252167512c (patch) | |
tree | 3eebf1e8dbde910aeb787b2ed0120662c1f33b03 /README.md | |
parent | 4866b72eb2bf5747cde4654e75b1c1be0d456456 (diff) | |
download | youtube-dl-4c917d0314f0442fd17d6f8ec8e583252167512c.tar.gz youtube-dl-4c917d0314f0442fd17d6f8ec8e583252167512c.zip |
[README.md] Document the 'duration' field in the output template (#6929)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -281,6 +281,7 @@ The `-o` option allows users to indicate a template for the output file names. T - `playlist`: The sequence will be replaced by the name or the id of the playlist that contains the video. - `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`. + - `duration`: The sequence will be replaced by the length of the video in seconds. The current default template is `%(title)s-%(id)s.%(ext)s`. |