prevent_busy in videoteca

This commit is contained in:
mac12m99
2021-01-17 20:28:36 +01:00
parent 02e19a962a
commit ed3d959d5a

View File

@@ -455,8 +455,7 @@ def play_from_library(item):
item.window = True
logger.debug()
# logger.debug("item: \n" + item.tostring('\n'))
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, xbmcgui.ListItem(path=os.path.join(config.get_runtime_path(), "resources", "kod.mp4")))
xbmc.Player().stop()
platformtools.prevent_busy(item)
# Modify the action (currently the video library needs "findvideos" since this is where the sources are searched
item.action = "findvideos"