From f92b9c391b3585115c3af3c287c793fbf6845bd3 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 24 Dec 2020 10:23:19 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20Autoplay=20e=20Segna=20come=20gi=C3=A0=20?= =?UTF-8?q?visto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformcode/launcher.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platformcode/launcher.py b/platformcode/launcher.py index e578b4c7..cfe11861 100644 --- a/platformcode/launcher.py +++ b/platformcode/launcher.py @@ -469,9 +469,10 @@ def play_from_library(item): window_type = config.get_setting("window_type", "videolibrary") # and launch kodi again if xbmc.getCondVisibility('Window.IsMedia') and not window_type == 1: - xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, xbmcgui.ListItem(path=os.path.join(config.get_runtime_path(), "resources", "kod.mp4"))) - xbmc.Player().stop() + # xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, xbmcgui.ListItem(path=os.path.join(config.get_runtime_path(), "resources", "kod.mp4"))) + # xbmc.Player().stop() # Conventional window + platformtools.prevent_busy(item) item.window = True xbmc.executebuiltin("Container.Update(" + sys.argv[0] + "?" + item.tourl() + ")")