mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
Merge pull request #1021 from tcely/patch-2
Remux video for combined format download
This commit is contained in:
commit
0380dc8fee
@ -336,12 +336,15 @@ def download_media(
|
||||
)
|
||||
# assignment is the quickest way to cover both 'get' cases
|
||||
pp_opts.exec_cmd['after_move'] = cmds
|
||||
elif '+' not in media_format:
|
||||
pp_opts.remuxvideo = extension
|
||||
|
||||
ytopts = {
|
||||
'format': media_format,
|
||||
'final_ext': extension,
|
||||
'merge_output_format': extension,
|
||||
'outtmpl': os.path.basename(output_file),
|
||||
'remuxvideo': pp_opts.remuxvideo,
|
||||
'quiet': False if settings.DEBUG else True,
|
||||
'verbose': True if settings.DEBUG else False,
|
||||
'noprogress': None if settings.DEBUG else True,
|
||||
|
Loading…
Reference in New Issue
Block a user