mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-30 02:31:51 +00:00
Pass the playlist info_dict to process_info
the playlist value can be used in the output template
This commit is contained in:
@@ -138,6 +138,7 @@ The `-o` option allows users to indicate a template for the output file names. T
|
||||
- `ext`: The sequence will be replaced by the appropriate extension (like flv or mp4).
|
||||
- `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.
|
||||
|
||||
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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user