diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index 22ec6b60..8e823916 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -1249,7 +1249,6 @@ def show_video_info(*args, **kwargs): """ from platformcode.xbmc_info_window import InfoWindow - xbmc.executebuiltin('Dialog.Close(all)') return InfoWindow("InfoWindow.xml", config.get_runtime_path()).start(*args, **kwargs) diff --git a/specials/globalsearch.py b/specials/globalsearch.py index e33a62bb..bef82a3b 100644 --- a/specials/globalsearch.py +++ b/specials/globalsearch.py @@ -763,7 +763,7 @@ class SearchWindow(xbmcgui.WindowXML): context = [c[0] for c in commands] context_commands = [c[1].replace('Container.Refresh', 'RunPlugin').replace('Container.Update', 'RunPlugin') for c in commands] index = xbmcgui.Dialog().contextmenu(context) - if index > 0: xbmc.executebuiltin(context_commands[index]) + if index > -1: xbmc.executebuiltin(context_commands[index]) def play(self, server=None):