From: Remita Amine Date: Thu, 24 Dec 2020 12:33:12 +0000 (+0100) Subject: [sonyliv] fix title for movies X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=f9e6aa1dcfa5e5731f04b407ac00ef24009891a3;p=youtube-dl [sonyliv] fix title for movies --- diff --git a/youtube_dl/extractor/sonyliv.py b/youtube_dl/extractor/sonyliv.py index b460b343a..fedfceb62 100644 --- a/youtube_dl/extractor/sonyliv.py +++ b/youtube_dl/extractor/sonyliv.py @@ -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 {