Aggiungi ai Preferiti anche da cerca Film/SerieTV
This commit is contained in:
@@ -151,7 +151,7 @@ class SearchWindow(xbmcgui.WindowXMLDialog):
|
|||||||
year = result.get('release_date', '')
|
year = result.get('release_date', '')
|
||||||
rating = str(result.get('vote_average', ''))
|
rating = str(result.get('vote_average', ''))
|
||||||
|
|
||||||
new_item = Item(channel='search',
|
new_item = Item(channel='globalsearch',
|
||||||
action=True,
|
action=True,
|
||||||
title=title,
|
title=title,
|
||||||
thumbnail=thumbnail,
|
thumbnail=thumbnail,
|
||||||
@@ -733,7 +733,6 @@ class SearchWindow(xbmcgui.WindowXMLDialog):
|
|||||||
parent = self.item
|
parent = self.item
|
||||||
item = Item().fromurl(item_url)
|
item = Item().fromurl(item_url)
|
||||||
parent.noMainMenu = True
|
parent.noMainMenu = True
|
||||||
|
|
||||||
commands = platformtools.set_context_commands(item, item_url, parent)
|
commands = platformtools.set_context_commands(item, item_url, parent)
|
||||||
context = [c[0] for c in commands]
|
context = [c[0] for c in commands]
|
||||||
context_commands = [c[1].replace('Container.Refresh', 'RunPlugin').replace('Container.Update', 'RunPlugin') for c in commands]
|
context_commands = [c[1].replace('Container.Refresh', 'RunPlugin').replace('Container.Update', 'RunPlugin') for c in commands]
|
||||||
|
|||||||
Reference in New Issue
Block a user