Ultimi fix

This commit is contained in:
marco
2021-11-27 17:56:34 +01:00
parent 35ff445f9b
commit ad40a34d5c
2 changed files with 117 additions and 94 deletions

View File

@@ -1685,8 +1685,9 @@ 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
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True,
xbmcgui.ListItem(path=os.path.join(config.get_runtime_path(), "resources", "kod.mp4")))
sleep = 200
while not is_playing():
xbmc.sleep(sleep)
xbmc.Player().stop()
xbmc.Player().stop()