diff --git a/plugin.video.alfa/core/videolibrarytools.py b/plugin.video.alfa/core/videolibrarytools.py index e165e439..aff99dd1 100644 --- a/plugin.video.alfa/core/videolibrarytools.py +++ b/plugin.video.alfa/core/videolibrarytools.py @@ -294,10 +294,16 @@ def save_tvshow(item, episodelist): if episodelist and "list_language" in episodelist[0]: # si ya hemos añadido un canal previamente con filtro, añadimos o actualizamos el canal y show if "library_filter_show" in item_tvshow: - item_tvshow.library_filter_show[item.channel] = item.show + if item.title_from_channel: + item_tvshow.library_filter_show[item.channel] = item.title_from_channel + else: + item_tvshow.library_filter_show[item.channel] = item.show # no habia ningún canal con filtro y lo generamos por primera vez else: - item_tvshow.library_filter_show = {item.channel: item.show} + if item.title_from_channel: + item_tvshow.library_filter_show = {item.channel: item.title_from_channel} + else: + item_tvshow.library_filter_show = {item.channel: item.show} if item.channel != "downloads": item_tvshow.active = 1 # para que se actualice a diario cuando se llame a videolibrary_service