Fix Finestra server

This commit is contained in:
Alhaziel01
2022-02-18 10:22:33 +01:00
parent 905e9aeafe
commit 4396e4ce15
+3 -1
View File
@@ -2012,7 +2012,7 @@ def serverWindow(item, itemlist):
if itemlist: if itemlist:
def monitor(itemlist): def monitor(itemlist):
reopen = True reopen = False
while not xbmc.Monitor().abortRequested(): while not xbmc.Monitor().abortRequested():
if not is_playing(): if not is_playing():
if reopen: if reopen:
@@ -2021,8 +2021,10 @@ def serverWindow(item, itemlist):
break break
if config.get_setting('window_type') == 0: if config.get_setting('window_type') == 0:
selection = ServerSkinWindow("DialogSelect.xml", config.get_runtime_path()).start(item, itemlist) selection = ServerSkinWindow("DialogSelect.xml", config.get_runtime_path()).start(item, itemlist)
reopen = True
else: else:
selection = ServerWindow('Servers.xml', config.get_runtime_path()).start(item, itemlist) selection = ServerWindow('Servers.xml', config.get_runtime_path()).start(item, itemlist)
reopen = True
if selection == -1: if selection == -1:
break break