Merge remote-tracking branch 'alfa-addon/master' into explora

This commit is contained in:
Unknown
2018-06-15 12:08:27 -03:00
20 changed files with 777 additions and 352 deletions

View File

@@ -504,7 +504,21 @@ def set_context_commands(item, parent_item):
(sys.argv[0], item.clone(channel="favorites", action="addFavourite",
from_channel=item.channel,
from_action=item.action).tourl())))
# Buscar en otros canales y similares
#Herramientas de desarrollador
from core import filetools
test_path = os.path.join(config.get_runtime_path(), "channels/test.py")
if parent_item.action == 'filterchannels' and item.action == 'mainlist' and filetools.exists(test_path):
channel_parameters = channeltools.get_channel_parameters(item.channel)
context_commands.append(("TESTEAR ESTE CANAL",
"XBMC.RunPlugin(%s?%s)" %
(sys.argv[0],
Item(channel='test', action='channel_test',
config=channel_parameters['channel']).tourl())))
# Buscar en otros canales
if item.contentType in ['movie', 'tvshow'] and item.channel != 'search':
# Buscar en otros canales
if item.contentSerieName != '':