From 2eeb1cdfec050cc50511e3850ab34cb0efa99937 Mon Sep 17 00:00:00 2001 From: Drake Panzer Date: Sat, 21 Jan 2023 17:17:11 -0700 Subject: [PATCH] c --- downloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/downloader.py b/downloader.py index 6a6500c..79fe7ee 100755 --- a/downloader.py +++ b/downloader.py @@ -36,7 +36,7 @@ parser.add_argument('--rm-cache', '-r', action='store_true', help='Delete the yt parser.add_argument('--threads', type=int, default=cpu_count(), help='How many download processes to use.') parser.add_argument('--daemon', '-d', action='store_true', help="Run in daemon mode. Disables progress bars sleeps for the amount of time specified in --sleep.") parser.add_argument('--sleep', type=float, default=60, help='How many minutes to sleep when in daemon mode.') -parser.add_argument('--silence-errors', '-s', action='store_true', help="Don't print any error messages to the console.") +parser.add_argument('--silence-errors', '-s', action='store_true', help="Don't print any error messages to the console. Does not do anything in daemon mode.") args = parser.parse_args() if args.threads <= 0: @@ -240,7 +240,7 @@ while True: for line in result['video_error_logger_msg']: video_error_logger.info(line) log_info_twice(line) - if not args.silence_errors: + if not args.silence_errors and not args.daemon: playlist_bar.write(line) # for line in result['status_msg']: # playlist_bar.write(line)