FIx Server ed errore jsontools in Ricerca globale

This commit is contained in:
Alhaziel01
2021-11-06 09:00:57 +01:00
parent 70f69acfff
commit 686d491daf
2 changed files with 6 additions and 4 deletions

View File

@@ -40,7 +40,9 @@ def start(itemlist, item):
return itemlist
import xbmc
control_item = Item().fromurl(xbmc.getInfoLabel('Container.FolderPath'))
control_info = xbmc.getInfoLabel('Container.FolderPath')
if control_info:
control_item = Item().fromurl()
if control_item.action == item.action:
return itemlist

View File

@@ -812,7 +812,7 @@ class SearchWindow(xbmcgui.WindowXML):
def play(self, server=None):
platformtools.prevent_busy(server)
platformtools.prevent_busy()
server.window = True
server.globalsearch = True
return run(server)