Merge branch 'stable' of github.com:kodiondemand/addon into stable

This commit is contained in:
marco
2019-12-25 22:45:15 +01:00
2 changed files with 6 additions and 4 deletions

View File

@@ -246,10 +246,10 @@ def filterchannels(category, view="thumb_"):
id = ids[x]
channelslist.insert(x,
Item(channel='search', action='discover_list', title=title, search_type='list',
list_type='%s/%s' % (category.replace('show',''), id), thumbnail=get_thumb(id+".png")))
list_type='%s/%s' % (category.replace('show',''), id), mode=category, thumbnail=get_thumb(id+".png")))
channelslist.insert(3, Item(channel='search', action='genres_menu', title=config.get_localized_string(30987),
type=category.replace('show',''), thumbnail=get_thumb("genres.png")))
type=category.replace('show',''), mode=category ,thumbnail=get_thumb("genres.png")))
return channelslist

View File

@@ -171,7 +171,8 @@ def show_menu(item):
title=typo('Cerca nel Canale...','color kod bold'),
thumbnail=get_thumb('search.png'),
action='search',
url=url,
url=item.url,
custom_url=url,
path=item.path))
add_search = False
@@ -203,7 +204,8 @@ def show_menu(item):
title=typo('Cerca ' + option['title'] +'...','color kod bold'),
thumbnail=get_thumb('search.png'),
action='search',
url=url,
url=item.url,
custom_url=url,
path=item.path))
elif 'list' in key: