From b19614cc9f95adda1e0247d5f51b7a68db016d6d Mon Sep 17 00:00:00 2001 From: tcely Date: Mon, 23 Dec 2024 01:28:46 -0500 Subject: [PATCH] Do not log download progress lines by default When you set debugging, the default progress output can be viewed and/or logged, depending on the other options. --- tubesync/sync/youtube.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tubesync/sync/youtube.py b/tubesync/sync/youtube.py index cb612c69..446e456d 100644 --- a/tubesync/sync/youtube.py +++ b/tubesync/sync/youtube.py @@ -151,6 +151,7 @@ def download_media(url, media_format, extension, output_file, info_json, 'outtmpl': os.path.basename(output_file), 'quiet': False if settings.DEBUG else True, 'verbose': True if settings.DEBUG else False, + 'noprogress': None if settings.DEBUG else True, 'progress_hooks': [hook], 'writeinfojson': info_json, 'postprocessors': [],