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")
|
||||
result_mode = config.get_setting("result_mode", "search")
|
||||
|
||||
tecleado = item.extra
|
||||
if item.wanted!='':
|
||||
tecleado=item.wanted
|
||||
else:
|
||||
tecleado = item.extra
|
||||
|
||||
itemlist = []
|
||||
|
||||
|
||||
@@ -398,9 +398,9 @@ def set_context_commands(item, parent_item):
|
||||
if item.contentType in ['movie','tvshow']and item.channel != 'search':
|
||||
# Buscar en otros canales
|
||||
if item.contentSerieName!='':
|
||||
item.extra=item.contentSerieName
|
||||
item.wanted=item.contentSerieName
|
||||
else:
|
||||
item.extra = item.contentTitle
|
||||
item.wanted = item.contentTitle
|
||||
context_commands.append(("[COLOR yellow]Buscar en otros canales[/COLOR]",
|
||||
"XBMC.Container.Update (%s?%s)" % (sys.argv[0],
|
||||
item.clone(channel='search',
|
||||
|
||||
Reference in New Issue
Block a user