From da1a2b68379b2ffa942ecb8a63065e3f4679375d Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Tue, 22 Dec 2020 16:11:13 +0100 Subject: [PATCH] Aggiungi ai Preferiti anche da cerca Film/SerieTV --- specials/globalsearch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specials/globalsearch.py b/specials/globalsearch.py index 21bfedb0..a7e46381 100644 --- a/specials/globalsearch.py +++ b/specials/globalsearch.py @@ -151,7 +151,7 @@ class SearchWindow(xbmcgui.WindowXMLDialog): year = result.get('release_date', '') rating = str(result.get('vote_average', '')) - new_item = Item(channel='search', + new_item = Item(channel='globalsearch', action=True, title=title, thumbnail=thumbnail, @@ -733,7 +733,6 @@ class SearchWindow(xbmcgui.WindowXMLDialog): parent = self.item item = Item().fromurl(item_url) parent.noMainMenu = True - commands = platformtools.set_context_commands(item, item_url, parent) context = [c[0] for c in commands] context_commands = [c[1].replace('Container.Refresh', 'RunPlugin').replace('Container.Update', 'RunPlugin') for c in commands]