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
+5 -3
View File
@@ -40,9 +40,11 @@ def start(itemlist, item):
return itemlist return itemlist
import xbmc import xbmc
control_item = Item().fromurl(xbmc.getInfoLabel('Container.FolderPath')) control_info = xbmc.getInfoLabel('Container.FolderPath')
if control_item.action == item.action: if control_info:
return itemlist control_item = Item().fromurl()
if control_item.action == item.action:
return itemlist
if config.get_setting('autoplay') or item.autoplay: if config.get_setting('autoplay') or item.autoplay:
# Save the current value of "Action and Player Mode" in preferences # Save the current value of "Action and Player Mode" in preferences
+1 -1
View File
@@ -812,7 +812,7 @@ class SearchWindow(xbmcgui.WindowXML):
def play(self, server=None): def play(self, server=None):
platformtools.prevent_busy(server) platformtools.prevent_busy()
server.window = True server.window = True
server.globalsearch = True server.globalsearch = True
return run(server) return run(server)