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,9 +40,11 @@ def start(itemlist, item):
return itemlist
import xbmc
control_item = Item().fromurl(xbmc.getInfoLabel('Container.FolderPath'))
if control_item.action == item.action:
return itemlist
control_info = xbmc.getInfoLabel('Container.FolderPath')
if control_info:
control_item = Item().fromurl()
if control_item.action == item.action:
return itemlist
if config.get_setting('autoplay') or item.autoplay:
# Save the current value of "Action and Player Mode" in preferences

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)