From f21aa5aac5d7e7eb10ec01df683d59273b310e2b Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Wed, 22 Feb 2023 03:06:53 +0000 Subject: [PATCH] Silence aria2c when downloading segmented streams It conflicts with the TQDM progress bar, it's also not really useful information. --- devine/core/manifests/dash.py | 3 ++- devine/core/manifests/hls.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/devine/core/manifests/dash.py b/devine/core/manifests/dash.py index 97fa555..f4cd1d1 100644 --- a/devine/core/manifests/dash.py +++ b/devine/core/manifests/dash.py @@ -460,7 +460,8 @@ class DASH: segment_save_path, session.headers, proxy, - byte_range=segment_range + byte_range=segment_range, + silent=True )) if isinstance(track, Audio) or init_data: diff --git a/devine/core/manifests/hls.py b/devine/core/manifests/hls.py index 71391b7..20a1938 100644 --- a/devine/core/manifests/hls.py +++ b/devine/core/manifests/hls.py @@ -272,7 +272,8 @@ class HLS: segment.uri, segment_save_path, session.headers, - proxy + proxy, + silent=True )) if isinstance(track, Audio) or newest_init_data: