Fix Freeze e canali vuoti

This commit is contained in:
Alhaziel01
2021-11-27 17:30:29 +01:00
parent d8d1e123ef
commit 2409f7db37
2 changed files with 15 additions and 12 deletions

View File

@@ -1686,6 +1686,7 @@ def prevent_busy(item=None):
def fakeVideo():
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, xbmcgui.ListItem(path=os.path.join(config.get_runtime_path(), "resources", "kod.mp4")))
sleep = 200 if xbmc.getCondVisibility("system.platform.android") else 100
while not is_playing():
xbmc.sleep(100)
xbmc.sleep(sleep)
xbmc.Player().stop()