]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[onet] Enable dash formats
authorSergey M․ <dstftw@gmail.com>
Sun, 24 Jul 2016 03:43:05 +0000 (10:43 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 24 Jul 2016 03:43:05 +0000 (10:43 +0700)
youtube_dl/extractor/onet.py

index 402d3a9f73b716cae86f029bb63aea650774d3c4..fc22ad5eb61b616afa4aaf6895302118fa4f2a50 100644 (file)
@@ -59,11 +59,8 @@ class OnetBaseIE(InfoExtractor):
                         # TODO: Support Microsoft Smooth Streaming
                         continue
                     elif ext == 'mpd':
-                        # TODO: Current DASH formats are broken - $Time$ pattern in
-                        # <SegmentTemplate> not implemented yet
-                        # formats.extend(self._extract_mpd_formats(
-                        #    video_url, video_id, mpd_id='dash', fatal=False))
-                        continue
+                        formats.extend(self._extract_mpd_formats(
+                            video_url, video_id, mpd_id='dash', fatal=False))
                     else:
                         formats.append({
                             'url': video_url,