From a8d0f11cb1a6069c82148610a7e6e01dadc6958d Mon Sep 17 00:00:00 2001 From: greko17 Date: Mon, 14 Oct 2019 18:20:26 +0200 Subject: [PATCH] fix: ../specials/news.py titoli uniformi --- specials/news.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specials/news.py b/specials/news.py index 3c924531..49b48ad9 100644 --- a/specials/news.py +++ b/specials/news.py @@ -401,10 +401,11 @@ def get_title(item): # contentSeason non c'รจ in support if not item.contentSeason: item.contentSeason = '1' - title = "%s - %sx%s" % (title, item.contentSeason, str(item.contentEpisodeNumber).zfill(2)) + title = "%sx%s - %s" % (item.contentSeason, str(item.contentEpisodeNumber).zfill(2), title) else: seas = scrapertools.get_season_and_episode(item.title) - title = "%s - %s" % (seas, title) + if seas: + title = "%s - %s" % (seas, title) elif item.contentTitle: # Si es una pelicula con el canal adaptado title = item.contentTitle