From acbcac7a34826a7a1a537756a23807f21d7e1327 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Mon, 30 Jan 2017 16:46:48 +0200 Subject: [PATCH] Ignore youtube-dl debug-junk output --- youtube_dl_gui/downloaders.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl_gui/downloaders.py b/youtube_dl_gui/downloaders.py index a764c62..907199c 100644 --- a/youtube_dl_gui/downloaders.py +++ b/youtube_dl_gui/downloaders.py @@ -460,6 +460,9 @@ def extract_data(stdout): data_dictionary['filename'] = filename data_dictionary['extension'] = extension + elif stdout[0][0] != '[' or stdout[0] == '[debug]': + pass # Just ignore this output + else: data_dictionary['status'] = 'Pre Processing'