From fec75fb30c8860eb31bba5d50c883362a3ae508d Mon Sep 17 00:00:00 2001 From: greko17 Date: Sun, 6 Oct 2019 22:00:40 +0200 Subject: [PATCH] fix: specials/news.py --- specials/news.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/specials/news.py b/specials/news.py index ed85e96b..19264a67 100644 --- a/specials/news.py +++ b/specials/news.py @@ -46,7 +46,7 @@ def mainlist(item): list_canales, any_active = get_channels_list() channel_language = config.get_setting("channel_language", default="auto") if channel_language == 'auto': - channel_language = auto_filter() + channel_language = auto_filter()[0] #if list_canales['peliculas']: thumbnail = get_thumb("channels_movie.png") @@ -400,9 +400,6 @@ def get_title(item): if not item.contentSeason: item.contentSeason = '1' title = "%s - %sx%s" % (title, item.contentSeason, str(item.contentEpisodeNumber).zfill(2)) -## #4l3x87 - fix to add Sub-ITA in newest -## if item.contentLanguage: -## title+=" "+item.contentLanguage elif item.contentTitle: # Si es una pelicula con el canal adaptado title = item.contentTitle @@ -412,9 +409,9 @@ def get_title(item): title = item.title # Limpiamos el titulo de etiquetas de formato anteriores - title = re.compile("\[/*COLO.*?\]", re.DOTALL).sub("", title) - title = re.compile("\[/*B\]", re.DOTALL).sub("", title) - title = re.compile("\[/*I\]", re.DOTALL).sub("", title) +## title = re.compile("\[/*COLO.*?\]", re.DOTALL).sub("", title) +## title = re.compile("\[/*B\]", re.DOTALL).sub("", title) +## title = re.compile("\[/*I\]", re.DOTALL).sub("", title) title = '[B]'+title+'[/B]'