1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[onet] Enable dash formats

This commit is contained in:
Sergey M․ 2016-07-24 10:43:05 +07:00
parent 5a65668e25
commit ae6fff4e64
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -59,11 +59,8 @@ def _extract_from_id(self, video_id, webpage):
# 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,