fix: news
This commit is contained in:
+8
-6
@@ -417,13 +417,16 @@ def get_title(item):
|
|||||||
title = re.compile("\[/*I\]", re.DOTALL).sub("", title)
|
title = re.compile("\[/*I\]", re.DOTALL).sub("", title)
|
||||||
|
|
||||||
title = '[B]'+title+'[/B]'
|
title = '[B]'+title+'[/B]'
|
||||||
if type(item.contentLanguage) == list and len(item.contentLanguage) ==1:
|
|
||||||
if 'ITA' not in item.contentLanguage:
|
if item.contentLanguage == '':
|
||||||
title += support.typo(item.contentLanguage[0], '_ [] color kod')
|
pass
|
||||||
elif type(item.contentLanguage) != list and item.contentLanguage != 'ITA':
|
elif type(item.contentLanguage) == list and len(item.contentLanguage) ==1:
|
||||||
|
title += support.typo(item.contentLanguage[0], '_ [] color kod')
|
||||||
|
elif type(item.contentLanguage) != '':
|
||||||
title += support.typo(item.contentLanguage, '_ [] color kod')
|
title += support.typo(item.contentLanguage, '_ [] color kod')
|
||||||
else:
|
elif type(item.contentLanguage) == list:
|
||||||
title += item.contentLanguage
|
title += item.contentLanguage
|
||||||
|
|
||||||
if item.quality:
|
if item.quality:
|
||||||
title += support.typo(item.quality, '_ [] color kod')
|
title += support.typo(item.quality, '_ [] color kod')
|
||||||
return title
|
return title
|
||||||
@@ -432,7 +435,6 @@ def get_title(item):
|
|||||||
def no_group(list_result_canal):
|
def no_group(list_result_canal):
|
||||||
itemlist = []
|
itemlist = []
|
||||||
global channels_id_name
|
global channels_id_name
|
||||||
support.log("NO GROUP -> ", list_result_canal)
|
|
||||||
|
|
||||||
for i in list_result_canal:
|
for i in list_result_canal:
|
||||||
support.log("NO GROUP i -> ", i)
|
support.log("NO GROUP i -> ", i)
|
||||||
|
|||||||
Reference in New Issue
Block a user