From b3fc4f264941b36915a8043e8c8c4908fe62c67e Mon Sep 17 00:00:00 2001 From: Rain Date: Wed, 3 Apr 2024 12:31:45 -0400 Subject: [PATCH] Cleaned up dl-stream output --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 343a267..e5de0be 100644 --- a/main.py +++ b/main.py @@ -12,7 +12,10 @@ downloading = [] def download_stream(channel): downloading.append(channel) - subprocess.Popen(["dl-stream", "-r", channel], start_new_session=True) + # TODO: Output dl-stream to a log file + subprocess.Popen( + ["dl-stream", "-r", channel], start_new_session=True, stdout=subprocess.DEVNULL + ) # Checks if the channel_list exists and if not makes one