Ignore "aria2 will resume download" logs

These only happen if we intentionally cancel the process, or failed. However, this is something that is generally obvious given the args, and when cancelling a wall of these logs would appear.
This commit is contained in:
rlaphoenix 2023-03-08 13:46:55 +00:00
parent fa84ef53e7
commit cbd796463d
1 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,8 @@ async def aria2c(
gid, status, avg_speed, path_or_uri = line.split("|")
progress(total=100, completed=100, downloaded=avg_speed.strip())
elif not is_dl_summary:
if "aria2 will resume download if the transfer is restarted" in line:
continue
aria_log_buffer += f"{line.strip()}\n"
if aria_log_buffer: