diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index 866f055e..c80115ea 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -153,7 +153,7 @@ def render_items(itemlist, parent_item): return # if there's no item, add "no elements" item if not len(itemlist): - itemlist.append(Item(title=config.get_localized_string(60347))) + itemlist.append(Item(title=config.get_localized_string(60347), thumbnail=get_thumb('nofolder.png'))) for item in itemlist: item_url = item.tourl() @@ -293,7 +293,7 @@ def render_items_old(itemlist, parent_item): # Si no hay ningun item, mostramos un aviso if not len(itemlist): - itemlist.append(Item(title=config.get_localized_string(60347))) + itemlist.append(Item(title=config.get_localized_string(60347), thumbnail=get_thumb('nofolder.png'))) genre = False if 'nero' in parent_item.title: @@ -353,9 +353,9 @@ def render_items_old(itemlist, parent_item): item.thumbnail = get_thumb("next.png") elif 'add' in item.action: if 'pelicula' in item.action: - item.thumbnail = get_thumb("videolibrary_movie.png") + item.thumbnail = get_thumb("add_to_videolibrary.png") elif 'serie' in item.action: - item.thumbnail = get_thumb("videolibrary_tvshow.png") + item.thumbnail = get_thumb("add_to_videolibrary.png") if (unify_enabled or force_unify) and parent_item.channel not in ['kodfavourites']: # Formatear titulo con unify diff --git a/specials/news.py b/specials/news.py index bbb38ac9..63aad9dd 100644 --- a/specials/news.py +++ b/specials/news.py @@ -98,13 +98,13 @@ def mainlist(item): set_category_context(new_item) itemlist.append(new_item) - if channel_language == "all": - # if list_canales['Italiano']: - thumbnail = get_thumb("channels_italian.png") - new_item = Item(channel=item.channel, action="novedades", extra="italiano", title=config.get_localized_string(70563), - thumbnail=thumbnail) - set_category_context(new_item) - itemlist.append(new_item) + # if channel_language == "all": + # # if list_canales['Italiano']: + # thumbnail = get_thumb("italian.png") + # new_item = Item(channel=item.channel, action="novedades", extra="italiano", title=config.get_localized_string(70563), + # thumbnail=thumbnail) + # set_category_context(new_item) + # itemlist.append(new_item) # if list_canales['Torrent']: # thumbnail = get_thumb("channels_torrent.png") @@ -118,9 +118,9 @@ def mainlist(item): thumbnail=thumbnail) set_category_context(new_item) itemlist.append(new_item) - + thumbnail = get_thumb("setting_0.png") itemlist.append(Item(channel='shortcuts', action="SettingOnPosition", category=5, setting=0, - title=typo(config.get_localized_string(70285), 'bold color kod'))) + title=typo(config.get_localized_string(70285), 'bold color kod'), thumbnail=thumbnail)) return itemlist diff --git a/specials/videolibrary.py b/specials/videolibrary.py index 40173610..06bd2ddf 100644 --- a/specials/videolibrary.py +++ b/specials/videolibrary.py @@ -27,10 +27,10 @@ def mainlist(item): itemlist = list() itemlist.append(Item(channel=item.channel, action="list_movies", title=config.get_localized_string(60509), category=config.get_localized_string(70270), - thumbnail=get_thumb("videolibrary_movie.png"))) + thumbnail=get_thumb("add_to_videolibrary.png"))) itemlist.append(Item(channel=item.channel, action="list_tvshows", title=config.get_localized_string(60600), category=config.get_localized_string(70271), - thumbnail=get_thumb("videolibrary_tvshow.png"))) + thumbnail=get_thumb("add_to_videolibrary.png"))) itemlist.append(Item(channel='shortcuts', action="SettingOnPosition", category=2, setting=0, title=typo(config.get_localized_string(70287),'bold color kod'))) return itemlist