]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/YoutubeDL.py
Imported Upstream version 2014.11.23
[youtubedl] / youtube_dl / YoutubeDL.py
index 0a3569304b113bf0e3ad7ebc6f77a34253fcc76f..fde026fbf695781ac22d936c87c0216e4c12cfd9 100755 (executable)
@@ -624,7 +624,7 @@ class YoutubeDL(object):
 
             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)