Today on TV moved on search menu
This commit is contained in:
@@ -20,30 +20,30 @@ TIMEOUT_TOTAL = 60
|
|||||||
def mainlist(item):
|
def mainlist(item):
|
||||||
logger.info(" mainlist")
|
logger.info(" mainlist")
|
||||||
itemlist = [Item(channel=item.channel,
|
itemlist = [Item(channel=item.channel,
|
||||||
title=support.typo("IN ONDA ADESSO bold color kod"),
|
title=support.typo("IN ONDA ADESSO bold"),
|
||||||
action="tvoggi",
|
action="tvoggi",
|
||||||
url="%s/filmtv/" % host,
|
url="%s/filmtv/" % host,
|
||||||
thumbnail=""),
|
thumbnail=item.thumbnail),
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
title="Mattina",
|
title="Mattina",
|
||||||
action="tvoggi",
|
action="tvoggi",
|
||||||
url="%s/filmtv/oggi/mattina/" % host,
|
url="%s/filmtv/oggi/mattina/" % host,
|
||||||
thumbnail=""),
|
thumbnail=item.thumbnail),
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
title="Pomeriggio",
|
title="Pomeriggio",
|
||||||
action="tvoggi",
|
action="tvoggi",
|
||||||
url="%s/filmtv/oggi/pomeriggio/" % host,
|
url="%s/filmtv/oggi/pomeriggio/" % host,
|
||||||
thumbnail=""),
|
thumbnail=item.thumbnail),
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
title="Sera",
|
title="Sera",
|
||||||
action="tvoggi",
|
action="tvoggi",
|
||||||
url="%s/filmtv/oggi/sera/" % host,
|
url="%s/filmtv/oggi/sera/" % host,
|
||||||
thumbnail=""),
|
thumbnail=item.thumbnail),
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
title="Notte",
|
title="Notte",
|
||||||
action="tvoggi",
|
action="tvoggi",
|
||||||
url="%s/filmtv/oggi/notte/" % host,
|
url="%s/filmtv/oggi/notte/" % host,
|
||||||
thumbnail="")]
|
thumbnail=item.thumbnail)]
|
||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,9 @@ def mainlist(item):
|
|||||||
|
|
||||||
itemlist.append(Item(channel=item.channel, action='discover_list', title=config.get_localized_string(70313), context=context,
|
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")))
|
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"))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -69,7 +69,7 @@ def getchanneltypes(view="thumb_"):
|
|||||||
logger.info()
|
logger.info()
|
||||||
|
|
||||||
# Lista de categorias
|
# 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:
|
if config.get_setting("adult_mode") != 0:
|
||||||
channel_types.append("adult")
|
channel_types.append("adult")
|
||||||
@@ -91,9 +91,9 @@ def getchanneltypes(view="thumb_"):
|
|||||||
channel_type=channel_type, viewmode="thumbnails",
|
channel_type=channel_type, viewmode="thumbnails",
|
||||||
thumbnail=get_thumb("channels_%s.png" % channel_type, view)))
|
thumbnail=get_thumb("channels_%s.png" % channel_type, view)))
|
||||||
|
|
||||||
itemlist.append(Item(title='Oggi in TV', channel="filmontv", action="mainlist", view=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),
|
# category=title, channel_type="all", thumbnail=get_thumb("on_the_air.png", view),
|
||||||
viewmode="thumbnails"))
|
# viewmode="thumbnails"))
|
||||||
|
|
||||||
|
|
||||||
itemlist.append(Item(title=config.get_localized_string(70685), channel="community", action="mainlist", view=view,
|
itemlist.append(Item(title=config.get_localized_string(70685), channel="community", action="mainlist", view=view,
|
||||||
|
|||||||
Reference in New Issue
Block a user