]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[arkena] Skip dash formats
authorSergey M․ <dstftw@gmail.com>
Sat, 23 Jul 2016 11:07:55 +0000 (18:07 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 23 Jul 2016 11:07:55 +0000 (18:07 +0700)
youtube_dl/extractor/arkena.py

index d003a027b7e3ea99514ba2abf7b8170ef5bf9a58..d7c5eeb8a4aa300c9f92abfe601f2adb4e83020b 100644 (file)
@@ -81,12 +81,15 @@ class ArkenaIE(InfoExtractor):
                     formats.extend(self._extract_f4m_formats(
                         f_url, video_id, f4m_id=kind, fatal=False))
                 elif kind == 'dash' or 'mpd' in exts:
-                    formats.extend(self._extract_mpd_formats(
-                        f_url, video_id, mpd_id=kind, fatal=False))
+                    # TODO: Current DASH formats are broken - $Time$ pattern in
+                    # <SegmentTemplate> not implemented yet
+                    # formats.extend(self._extract_mpd_formats(
+                    #    f_url, video_id, mpd_id=kind, fatal=False))
+                    continue
                 elif kind == 'silverlight':
                     # TODO: process when ism is supported (see
                     # https://github.com/rg3/youtube-dl/issues/8118)
-                    pass
+                    continue
                 else:
                     tbr = float_or_none(f.get('Bitrate'), 1000)
                     formats.append({