]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[orf:radio] Extract series (#20012)
authorLukas Anzinger <lukas@lukasanzinger.at>
Sun, 17 Mar 2019 02:57:02 +0000 (03:57 +0100)
committerSergey M <dstftw@gmail.com>
Sun, 17 Mar 2019 02:57:02 +0000 (09:57 +0700)
youtube_dl/extractor/orf.py

index d432e344977d1fbef9a52049ce0ba16fd1573489..499be0029e739ca1779812a34c812c70a70595b1 100644 (file)
@@ -176,7 +176,8 @@ class ORFRadioIE(InfoExtractor):
                 'description': subtitle,
                 'duration': (info['end'] - info['start']) / 1000,
                 'timestamp': info['start'] / 1000,
-                'ext': 'mp3'
+                'ext': 'mp3',
+                'series': data.get('programTitle')
             }
 
         entries = [extract_entry_dict(t, data['title'], data['subtitle']) for t in data['streams']]