mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 04:30:10 +09:00
stop adding --write-thumbnail to --embed-thumbnail if --skip-download
This commit is contained in:
parent
a803582717
commit
a291936bb7
@ -291,7 +291,7 @@ def _real_main(argv=None):
|
|||||||
'key': 'EmbedThumbnail',
|
'key': 'EmbedThumbnail',
|
||||||
'already_have_thumbnail': already_have_thumbnail
|
'already_have_thumbnail': already_have_thumbnail
|
||||||
})
|
})
|
||||||
if not already_have_thumbnail:
|
if not already_have_thumbnail and not opts.skip_download:
|
||||||
opts.writethumbnail = True
|
opts.writethumbnail = True
|
||||||
# XAttrMetadataPP should be run after post-processors that may change file
|
# XAttrMetadataPP should be run after post-processors that may change file
|
||||||
# contents
|
# contents
|
||||||
|
Loading…
Reference in New Issue
Block a user