Allow empty output template to skip a type of file

Closes #760, #1111
This commit is contained in:
pukkandan
2021-09-30 02:14:42 +05:30
parent 1f2a268bd3
commit 80c03fa98f
3 changed files with 150 additions and 134 deletions

View File

@@ -535,6 +535,7 @@ def _real_main(argv=None):
})
if not already_have_thumbnail:
opts.writethumbnail = True
opts.outtmpl['pl_thumbnail'] = ''
if opts.split_chapters:
postprocessors.append({
'key': 'FFmpegSplitChapters',