Piccolo fix a ricerca globale

Fix SerietvOnline (no findhost)
Fix Eurostreaming (no findhost)
This commit is contained in:
Alhaziel01
2020-11-27 20:19:02 +01:00
parent c5c1bb2221
commit 88f23ef43d
6 changed files with 13 additions and 7 deletions

View File

@@ -249,7 +249,7 @@ class SearchWindow(xbmcgui.WindowXML):
results.extend(module.search(search_action, item.text))
if len(results) == 1:
if not results[0].action or config.get_localized_string(70006).lower() in results[0].title.lower():
results.clear()
results = []
if self.item.mode != 'all':
for elem in results:
@@ -271,7 +271,8 @@ class SearchWindow(xbmcgui.WindowXML):
def makeItem(self, item):
logger.debug()
thumb = item.thumbnail if item.thumbnail else 'Infoplus/' + item.contentType.replace('show','')
thumb = item.thumbnail if item.thumbnail else 'Infoplus/' + item.contentType.replace('show','') + 'png'
logger.info('THUMB', thumb)
it = xbmcgui.ListItem(item.title)
it.setProperty('thumb', thumb)
it.setProperty('fanart', item.fanart)