1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-01 02:37:25 +01:00

[sonyliv] fix title for movies

This commit is contained in:
Remita Amine 2020-12-24 13:33:12 +01:00
parent f83db9064b
commit f9e6aa1dcf

View 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 {