Cleaned up dl-stream output

This commit is contained in:
Rain Clark 2024-04-03 12:31:45 -04:00
parent de9ff12847
commit b3fc4f2649

View File

@ -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