Fix Ricerca Globale per Torrent

This commit is contained in:
Alhaziel01
2020-12-21 17:35:41 +01:00
parent ccd60185ab
commit b2d3429eca

View File

@@ -746,9 +746,10 @@ class SearchWindow(xbmcgui.WindowXMLDialog):
server.window = True
server.globalsearch = True
platformtools.prevent_busy(server)
run(server)
Thread(target=run, args=[server]).start()
# run(server)
try:
while not xbmc.Player().getTime() > 0:
while not platformtools.is_playing() or not xbmc.Player().getTime() > 0:
xbmc.sleep(500)
self.close()
xbmc.sleep(500)