diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index 93a47f8d..b9f12572 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -555,6 +555,9 @@ def set_context_commands(item, item_url, parent_item, **kwargs): # Add to kodfavoritos (My links) if item.channel not in ["favorites", "videolibrary", "help", ""] and parent_item.channel != "favorites": context_commands.append( (config.get_localized_string(70557), "RunPlugin(%s?%s&%s)" % (sys.argv[0], item_url, urllib.urlencode({'channel': "kodfavorites", 'action': "addFavourite", 'from_channel': item.channel, 'from_action': item.action})))) + # Add to kodfavoritos + if parent_item.channel == 'globalsearch': + context_commands.append( (config.get_localized_string(30155), "RunPlugin(%s?%s&%s)" % (sys.argv[0], item_url, urllib.urlencode({'channel': "favorites", 'action': "addFavourite", 'from_channel': item.channel, 'from_action': item.action})))) # Search in other channels if item.contentTitle and item.contentType in ['movie', 'tvshow'] and parent_item.channel != 'search' and item.action not in ['play'] and parent_item.action != 'mainlist':