Fix Ricerca globale per kodi 18 + typo eror

This commit is contained in:
Alhaziel01
2021-02-25 11:21:57 +01:00
parent 2a68a4901d
commit 0d78d6ee95
3 changed files with 3 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ def live(item):
logger.debug()
itemlist =[]
for name, values in liveDict().items():
itemlist.append(item.clone(title=typo(name), fulltitle=name, plot=values['plot'], url=values['url'], id=values['id'], action='play', forcethumb=True, no_return=True))
itemlist.append(item.clone(title=typo(name,'bold'), fulltitle=name, plot=values['plot'], url=values['url'], id=values['id'], action='play', forcethumb=True, no_return=True))
return support.thumb(itemlist, live=True)

View File

@@ -249,7 +249,7 @@ def live(item):
itlist = [executor.submit(load_live, ch.channel) for ch in channels]
for res in futures.as_completed(itlist):
if res.result():
channel_name, itlist = res.rFesult()
channel_name, itlist = res.result()
channels_dict[channel_name] = itlist
for ch in channels:

View File

@@ -750,6 +750,7 @@ def title_unify(title):
import unicodedata
u_title = ''
if type(title) == str: title = u'' + title
for c in unicodedata.normalize('NFD', title):
cat = unicodedata.category(c)
if cat != 'Mn':