[sonyliv] fix title for movies
authorRemita Amine <remitamine@gmail.com>
Thu, 24 Dec 2020 12:33:12 +0000 (13:33 +0100)
committerRemita Amine <remitamine@gmail.com>
Thu, 24 Dec 2020 12:33:12 +0000 (13:33 +0100)
youtube_dl/extractor/sonyliv.py

index b460b343acc748ec9d655b1be4e5dad7a4a11926..fedfceb6289c5b1979920d2038c1b79171d63b2b 100644 (file)
@@ -94,7 +94,7 @@ class SonyLIVIE(InfoExtractor):
             '1.6', 'IN/DETAIL/' + video_id, video_id)['containers'][0]['metadata']
         title = metadata['title']
         episode = metadata.get('episodeTitle')
-        if episode:
+        if episode and title != episode:
             title += ' - ' + episode
 
         return {