Merge pull request #159 from Alfa-beto/Fixes
Corregido error con extras
This commit is contained in:
@@ -290,7 +290,10 @@ def do_search(item, categories=None):
|
|||||||
multithread = config.get_setting("multithread", "search")
|
multithread = config.get_setting("multithread", "search")
|
||||||
result_mode = config.get_setting("result_mode", "search")
|
result_mode = config.get_setting("result_mode", "search")
|
||||||
|
|
||||||
tecleado = item.extra
|
if item.wanted!='':
|
||||||
|
tecleado=item.wanted
|
||||||
|
else:
|
||||||
|
tecleado = item.extra
|
||||||
|
|
||||||
itemlist = []
|
itemlist = []
|
||||||
|
|
||||||
|
|||||||
@@ -398,9 +398,9 @@ def set_context_commands(item, parent_item):
|
|||||||
if item.contentType in ['movie','tvshow']and item.channel != 'search':
|
if item.contentType in ['movie','tvshow']and item.channel != 'search':
|
||||||
# Buscar en otros canales
|
# Buscar en otros canales
|
||||||
if item.contentSerieName!='':
|
if item.contentSerieName!='':
|
||||||
item.extra=item.contentSerieName
|
item.wanted=item.contentSerieName
|
||||||
else:
|
else:
|
||||||
item.extra = item.contentTitle
|
item.wanted = item.contentTitle
|
||||||
context_commands.append(("[COLOR yellow]Buscar en otros canales[/COLOR]",
|
context_commands.append(("[COLOR yellow]Buscar en otros canales[/COLOR]",
|
||||||
"XBMC.Container.Update (%s?%s)" % (sys.argv[0],
|
"XBMC.Container.Update (%s?%s)" % (sys.argv[0],
|
||||||
item.clone(channel='search',
|
item.clone(channel='search',
|
||||||
|
|||||||
Reference in New Issue
Block a user