mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
Add pl_thumbnail
outtmpl key for playlist thumbnails
This should have been implemented in 681de68e9d
, but I forgot
This commit is contained in:
parent
a06916d98e
commit
5112f26a60
@ -885,7 +885,7 @@ # OUTPUT TEMPLATE
|
|||||||
%(name[.keys][addition][>strf][|default])[flags][width][.precision][length]type
|
%(name[.keys][addition][>strf][|default])[flags][width][.precision][length]type
|
||||||
```
|
```
|
||||||
|
|
||||||
Additionally, you can set different output templates for the various metadata files separately from the general output template by specifying the type of file followed by the template separated by a colon `:`. The different file types supported are `subtitle`, `thumbnail`, `description`, `annotation`, `infojson`, `pl_description`, `pl_infojson`, `chapter`. For example, `-o '%(title)s.%(ext)s' -o 'thumbnail:%(title)s\%(title)s.%(ext)s'` will put the thumbnails in a folder with the same name as the video.
|
Additionally, you can set different output templates for the various metadata files separately from the general output template by specifying the type of file followed by the template separated by a colon `:`. The different file types supported are `subtitle`, `thumbnail`, `description`, `annotation`, `infojson`, `pl_thumbnail`, `pl_description`, `pl_infojson`, `chapter`. For example, `-o '%(title)s.%(ext)s' -o 'thumbnail:%(title)s\%(title)s.%(ext)s'` will put the thumbnails in a folder with the same name as the video.
|
||||||
|
|
||||||
The available fields are:
|
The available fields are:
|
||||||
|
|
||||||
|
@ -4311,6 +4311,7 @@ def q(qid):
|
|||||||
'description': 'description',
|
'description': 'description',
|
||||||
'annotation': 'annotations.xml',
|
'annotation': 'annotations.xml',
|
||||||
'infojson': 'info.json',
|
'infojson': 'info.json',
|
||||||
|
'pl_thumbnail': None,
|
||||||
'pl_description': 'description',
|
'pl_description': 'description',
|
||||||
'pl_infojson': 'info.json',
|
'pl_infojson': 'info.json',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user