mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 23:43:20 +00:00
parent
92cb5763f4
commit
54a3a8827b
|
@ -1,5 +1,9 @@
|
|||
version <unreleased>
|
||||
|
||||
Core
|
||||
* [__init__] Metadata are now added after conversion (#5594)
|
||||
|
||||
|
||||
Extractors
|
||||
* [openload] Fix extraction (#10408, #12357)
|
||||
|
||||
|
|
|
@ -242,14 +242,11 @@ def parse_retries(retries):
|
|||
|
||||
# PostProcessors
|
||||
postprocessors = []
|
||||
# Add the metadata pp first, the other pps will copy it
|
||||
if opts.metafromtitle:
|
||||
postprocessors.append({
|
||||
'key': 'MetadataFromTitle',
|
||||
'titleformat': opts.metafromtitle
|
||||
})
|
||||
if opts.addmetadata:
|
||||
postprocessors.append({'key': 'FFmpegMetadata'})
|
||||
if opts.extractaudio:
|
||||
postprocessors.append({
|
||||
'key': 'FFmpegExtractAudio',
|
||||
|
@ -279,6 +276,11 @@ def parse_retries(retries):
|
|||
})
|
||||
if not already_have_thumbnail:
|
||||
opts.writethumbnail = True
|
||||
# FFmpegMetadataPP should be run after FFmpegVideoConvertorPP and
|
||||
# FFmpegExtractAudioPP as containers before conversion may not support
|
||||
# metadata (3gp, webm, etc.)
|
||||
if opts.addmetadata:
|
||||
postprocessors.append({'key': 'FFmpegMetadata'})
|
||||
# XAttrMetadataPP should be run after post-processors that may change file
|
||||
# contents
|
||||
if opts.xattrs:
|
||||
|
|
Loading…
Reference in a new issue