Skip fixup of existing files and add --fixup force to force it
This commit is contained in:
parent
fd7cfb6444
commit
f89b3e2d7a
3 changed files with 8 additions and 4 deletions
|
|
@ -2690,7 +2690,10 @@ class YoutubeDL(object):
|
|||
return
|
||||
elif fixup_policy == 'warn':
|
||||
do_fixup = False
|
||||
assert fixup_policy in ('detect_or_warn', None)
|
||||
elif fixup_policy != 'force':
|
||||
assert fixup_policy in ('detect_or_warn', None)
|
||||
if not info_dict.get('__real_download'):
|
||||
do_fixup = False
|
||||
|
||||
def ffmpeg_fixup(cndn, msg, cls):
|
||||
if not cndn:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue