[orf:tvthek] Add support for MPD formats (closes #28672) (#29236)
authorkikuyan <kikuyan@users.noreply.github.com>
Wed, 16 Jun 2021 21:02:06 +0000 (06:02 +0900)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 21:02:06 +0000 (04:02 +0700)
youtube_dl/extractor/orf.py

index ed8a9a84147e5e7944e1ae4cd79847d7c6eb19e8..8d537d7ae714965783e06f3addf70e46c195ec32 100644 (file)
@@ -98,6 +98,9 @@ class ORFTVthekIE(InfoExtractor):
                 elif ext == 'f4m':
                     formats.extend(self._extract_f4m_formats(
                         src, video_id, f4m_id=format_id, fatal=False))
+                elif ext == 'mpd':
+                    formats.extend(self._extract_mpd_formats(
+                        src, video_id, mpd_id=format_id, fatal=False))
                 else:
                     formats.append({
                         'format_id': format_id,