From 0c2a49af89d80d3ede27923d3b803206ac75b5b5 Mon Sep 17 00:00:00 2001 From: marco Date: Sun, 24 Nov 2019 20:31:07 +0100 Subject: [PATCH] tolto scarica film dal menu principale --- platformcode/platformtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index b0df8416..fdf97ce8 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -602,7 +602,7 @@ def set_context_commands(item, parent_item): if (item.channel != "downloads" and item.channel != "videolibrary" and downloadenabled != "false" and not config.get_localized_string(70585) in str(item.context))\ or (item.channel != "downloads" and item.channel != "videolibrary" and downloadenabled != "false" and config.get_localized_string(70585) in str(item.context) and config.get_localized_string(70714) in str(item.context)): # Descargar pelicula - if item.contentType == "movie": + if item.contentType == "movie" and item.action in ['findvideos', "play"]: context_commands.append((config.get_localized_string(60354), "XBMC.RunPlugin(%s?%s)" % (sys.argv[0], item.clone(channel="downloads", action="save_download", from_channel=item.channel, from_action=item.action)