From 8c8a5c6f2154d67a7296c9fb721d20e1fbb4ae69 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Wed, 29 Sep 2021 09:07:52 +0200 Subject: [PATCH] piccolo fix --- platformcode/platformtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index d764d434..8f5635b3 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -1776,7 +1776,7 @@ def set_played_time(item): def prevent_busy(item): logger.debug() - if not item.autoplay and not item.window: + if item.action == 'play_from_library' or (not item.autoplay and not item.window): if item.globalsearch: xbmc.Player().play(os.path.join(config.get_runtime_path(), "resources", "kod.mp4")) else: xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, xbmcgui.ListItem(path=os.path.join(config.get_runtime_path(), "resources", "kod.mp4"))) xbmc.sleep(200)