[tunein] Use live title for live streams (closes #16347)
authorSergey M․ <dstftw@gmail.com>
Tue, 1 May 2018 18:29:44 +0000 (01:29 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 1 May 2018 18:29:44 +0000 (01:29 +0700)
youtube_dl/extractor/tunein.py

index 7e51de89ed6082d35737142e85efb19726b03985..c7a5f5a63a0f683776017e24090054b8fdfbe3ae 100644 (file)
@@ -62,7 +62,7 @@ class TuneInBaseIE(InfoExtractor):
 
         return {
             'id': content_id,
-            'title': title,
+            'title': self._live_title(title) if is_live else title,
             'formats': formats,
             'thumbnail': thumbnail,
             'location': location,