From 42e12102a979a03f156e71fc86006f61c905f7dd Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Fri, 21 Nov 2014 22:38:16 +0100 Subject: [PATCH] [YoutubeDL] Fix multi_video check --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 0a3569304..fde026fbf 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -624,7 +624,7 @@ def make_result(embedded_info): return self.process_ie_result( new_result, download=download, extra_info=extra_info) - elif result_type == 'playlist' or playlist == 'multi_video': + elif result_type == 'playlist' or result_type == 'multi_video': # We process each entry in the playlist playlist = ie_result.get('title', None) or ie_result.get('id', None) self.to_screen('[download] Downloading playlist: %s' % playlist)