Icone Genere in ricerca e migliorato autothumb

This commit is contained in:
Alhaziel
2019-11-16 14:59:03 +01:00
committed by marco
parent 3c4625e513
commit 703d2d0704
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -58,6 +58,7 @@ def mainlist(item):
def genres_menu(item):
from channelselector import thumb
itemlist = []
@@ -69,7 +70,7 @@ def genres_menu(item):
for key, value in genres[item.type].items():
itemlist.append(item.clone(title=value, action='discover_list', search_type='discover',
list_type=key, page='1'))
return sorted(itemlist, key=lambda it: it.title)
return thumb(sorted(itemlist, key=lambda it: it.title), genre=True)
def sub_menu(item):
logger.info()