Silence DASH and HLS logs unless it's the last attempt

This commit is contained in:
rlaphoenix 2023-03-12 00:09:02 +00:00
parent 055bc927f5
commit d8acdda044
2 changed files with 2 additions and 0 deletions

View File

@ -475,6 +475,7 @@ class DASH:
out=segment_save_path, out=segment_save_path,
headers=session.headers, headers=session.headers,
proxy=proxy, proxy=proxy,
silent=attempts != 5,
segmented=True segmented=True
)) ))
break break

View File

@ -308,6 +308,7 @@ class HLS:
out=segment_save_path, out=segment_save_path,
headers=session.headers, headers=session.headers,
proxy=proxy, proxy=proxy,
silent=attempts != 5,
segmented=True segmented=True
)) ))
break break