mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-27 09:26:36 +00:00
Made DEBUG work for youtube-dl also
This commit is contained in:
parent
20d631ca78
commit
41e24b82b8
@ -151,7 +151,8 @@ def download_media(url, media_format, extension, output_file, info_json,
|
|||||||
'format': media_format,
|
'format': media_format,
|
||||||
'merge_output_format': extension,
|
'merge_output_format': extension,
|
||||||
'outtmpl': os.path.basename(output_file),
|
'outtmpl': os.path.basename(output_file),
|
||||||
'quiet': True,
|
'quiet': False if settings.DEBUG else True,
|
||||||
|
'verbose': True if settings.DEBUG else False,
|
||||||
'progress_hooks': [hook],
|
'progress_hooks': [hook],
|
||||||
'writeinfojson': info_json,
|
'writeinfojson': info_json,
|
||||||
'postprocessors': [],
|
'postprocessors': [],
|
||||||
|
Loading…
Reference in New Issue
Block a user