Today on TV moved on search menu

This commit is contained in:
Alhaziel
2019-05-11 20:13:23 +02:00
parent a7ceb48d0e
commit d25b90eebe
3 changed files with 13 additions and 10 deletions

View File

@@ -20,30 +20,30 @@ TIMEOUT_TOTAL = 60
def mainlist(item):
logger.info(" mainlist")
itemlist = [Item(channel=item.channel,
title=support.typo("IN ONDA ADESSO bold color kod"),
title=support.typo("IN ONDA ADESSO bold"),
action="tvoggi",
url="%s/filmtv/" % host,
thumbnail=""),
thumbnail=item.thumbnail),
Item(channel=item.channel,
title="Mattina",
action="tvoggi",
url="%s/filmtv/oggi/mattina/" % host,
thumbnail=""),
thumbnail=item.thumbnail),
Item(channel=item.channel,
title="Pomeriggio",
action="tvoggi",
url="%s/filmtv/oggi/pomeriggio/" % host,
thumbnail=""),
thumbnail=item.thumbnail),
Item(channel=item.channel,
title="Sera",
action="tvoggi",
url="%s/filmtv/oggi/sera/" % host,
thumbnail=""),
thumbnail=item.thumbnail),
Item(channel=item.channel,
title="Notte",
action="tvoggi",
url="%s/filmtv/oggi/notte/" % host,
thumbnail="")]
thumbnail=item.thumbnail)]
return itemlist

View File

@@ -60,6 +60,9 @@ def mainlist(item):
itemlist.append(Item(channel=item.channel, action='discover_list', title=config.get_localized_string(70313), context=context,
search_type='list', list_type='tv/top_rated', thumbnail=get_thumb("top_rated.png")))
itemlist.append(Item(channel="filmontv", action="mainlist", title=config.get_localized_string(50001),
thumbnail=get_thumb("on_the_air.png"), viewmode="thumbnails"))

View File

@@ -69,7 +69,7 @@ def getchanneltypes(view="thumb_"):
logger.info()
# Lista de categorias
channel_types = ["movie", "tvshow", "anime", "documentary", "vos", "direct", "torrent"]
channel_types = ["movie", "tvshow", "anime", "documentary", "vos", "direct"] # , "torrent"
if config.get_setting("adult_mode") != 0:
channel_types.append("adult")
@@ -91,9 +91,9 @@ def getchanneltypes(view="thumb_"):
channel_type=channel_type, viewmode="thumbnails",
thumbnail=get_thumb("channels_%s.png" % channel_type, view)))
itemlist.append(Item(title='Oggi in TV', channel="filmontv", action="mainlist", view=view,
category=title, channel_type="all", thumbnail=get_thumb("on_the_air.png", view),
viewmode="thumbnails"))
# itemlist.append(Item(title='Oggi in TV', channel="filmontv", action="mainlist", view=view,
# category=title, channel_type="all", thumbnail=get_thumb("on_the_air.png", view),
# viewmode="thumbnails"))
itemlist.append(Item(title=config.get_localized_string(70685), channel="community", action="mainlist", view=view,