[arkena] Enable dash formats

This commit is contained in:
Sergey M․ 2016-07-24 10:28:11 +07:00
parent f094834857
commit 94c04a3c79
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -81,11 +81,8 @@ def _real_extract(self, url):
formats.extend(self._extract_f4m_formats(
f_url, video_id, f4m_id=kind, fatal=False))
elif kind == 'dash' or 'mpd' in exts:
# 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
formats.extend(self._extract_mpd_formats(
f_url, video_id, mpd_id=kind, fatal=False))
elif kind == 'silverlight':
# TODO: process when ism is supported (see
# https://github.com/rg3/youtube-dl/issues/8118)