From c829292cc3b26005f960666dc57387324aa3a56f Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Fri, 4 Feb 2022 18:29:24 +0100 Subject: [PATCH] Fix Play da Ricerca Globale --- specials/globalsearch.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specials/globalsearch.py b/specials/globalsearch.py index 88185e8f..ce43c6ab 100644 --- a/specials/globalsearch.py +++ b/specials/globalsearch.py @@ -685,6 +685,10 @@ class SearchWindow(xbmcgui.WindowXML): try: self.channel = __import__('channels.%s' % item.channel, fromlist=["channels.%s" % item.channel]) self.itemsResult = getattr(self.channel, item.action)(item) + if self.itemsResult and self.itemsResult[0].server: + from platformcode.launcher import findvideos + findvideos(self.item, self.itemsResult) + return except: import traceback logger.error('error importing/getting search items of ' + item.channel)