From: Philipp Hagemeister Date: Thu, 20 Nov 2014 15:25:19 +0000 (+0100) Subject: [mtv] Return a proper playlist result (#4254) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=5239075bb684bc2c19978dde70e3954bbe7a62de;p=youtube-dl [mtv] Return a proper playlist result (#4254) --- diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py index 474bdff7d..5f0f476b6 100644 --- a/youtube_dl/extractor/mtv.py +++ b/youtube_dl/extractor/mtv.py @@ -145,7 +145,8 @@ class MTVServicesInfoExtractor(InfoExtractor): idoc = self._download_xml( feed_url + '?' + data, video_id, 'Downloading info', transform_source=fix_xml_ampersands) - return [self._get_video_info(item) for item in idoc.findall('.//item')] + return self.playlist_result( + [self._get_video_info(item) for item in idoc.findall('.//item')]) def _real_extract(self, url): title = url_basename(url)