From b6307f0329307e4634799ef42f85c36e05e3ce18 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 28 Jan 2021 11:27:32 +0100 Subject: [PATCH] Fix Titolo Community Channels --- core/support.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/support.py b/core/support.py index 92eb46d4..d16067a6 100755 --- a/core/support.py +++ b/core/support.py @@ -1183,7 +1183,10 @@ def server(item, data='', itemlist=[], headers='', AutoPlay=True, CheckLinks=Tru srv_param = servertools.get_server_parameters(videoitem.server.lower()) if videoitem.video_urls or srv_param.get('active', False): - item.title = typo(item.contentTitle.strip(), 'bold') if item.contentType == 'movie' or (config.get_localized_string(30161) in item.title) else item.title + if item.channel == 'community': + item.title = item.fulltitle + else: + item.title = typo(item.contentTitle.strip(), 'bold') if item.contentType == 'movie' or (config.get_localized_string(30161) in item.title) else item.title quality = videoitem.quality if videoitem.quality else item.quality if item.quality else '' videoitem.title = (item.title if item.channel not in ['url'] else '') + (typo(videoitem.title, '_ color kod [] bold') if videoitem.title else "") + (typo(videoitem.quality, '_ color kod []') if videoitem.quality else "") @@ -1207,7 +1210,7 @@ def server(item, data='', itemlist=[], headers='', AutoPlay=True, CheckLinks=Tru # for it in thL: # if it and not config.get_setting("black_list", server=it.server.lower()): # verifiedItemlist.append(it) - + with futures.ThreadPoolExecutor() as executor: thL = [executor.submit(getItem, videoitem) for videoitem in itemlist if videoitem.url or videoitem.video_urls] for it in futures.as_completed(thL):