[YoutubeDL] Support new _type multi_video
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 20 Nov 2014 23:25:46 +0000 (00:25 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 20 Nov 2014 23:25:46 +0000 (00:25 +0100)
youtube_dl/YoutubeDL.py

index 79f5e995e1129453d72e829fe1bfd8f668b3cfc3..0a3569304b113bf0e3ad7ebc6f77a34253fcc76f 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':
+        elif result_type == 'playlist' or playlist == '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)