This commit is contained in:
parent
50df03ee69
commit
2eeb1cdfec
|
@ -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)
|
||||
|
|
Reference in New Issue