This commit is contained in:
Cyberes 2023-01-21 18:14:02 -07:00
parent 44122a8ef4
commit 3a40ce5b50
No known key found for this signature in database
GPG Key ID: 194A1C358AACFC39
1 changed files with 2 additions and 1 deletions

View File

@ -243,7 +243,6 @@ while True:
# Print stuff
for line in result['video_error_logger_msg']:
video_error_logger.info(line)
logger.error(line)
file_logger.error(line)
encountered_errors += 1
if not args.silence_errors:
@ -259,11 +258,13 @@ while True:
playlist_bar.update()
else:
playlist_bar.write(f"All videos already downloaded for '{playlist['title']}'.")
error_msg = f'Encountered {encountered_errors} errors.'
if args.daemon:
logger.info(error_msg)
else:
playlist_bar.write(error_msg)
log_info_twice(f"Finished item: '{playlist['title']}' {target_url}")
log_info_twice(f"Finished process in {round(math.ceil(time.time() - start_time) / 60, 2)} min.")
if not args.daemon: