- entry_protocol='m3u8_native', m3u8_id=format_id)
- for f in m3u8_formats:
- f.update({
- 'language': lang,
- 'format_note': format_note,
- })
- formats.extend(m3u8_formats)
+ entry_protocol='m3u8_native', m3u8_id=format_id, fatal=False)
+ elif source.get('type') == 'video/dash' or ext == 'mpd':
+ file_formats = self._extract_mpd_formats(
+ file_, video_id, mpd_id=format_id, fatal=False)
+ else:
+ continue
+ for f in file_formats:
+ f.update({
+ 'language': lang,
+ 'format_note': format_note,
+ })
+ formats.extend(file_formats)