tvshow fix
This commit is contained in:
@@ -229,7 +229,7 @@ def video(item):
|
||||
|
||||
# Controlla se sono Episodi o Film
|
||||
if movie == '':
|
||||
contentType = 'episode'
|
||||
contentType = 'tvshow'
|
||||
action = 'episodios'
|
||||
else:
|
||||
contentType = 'movie'
|
||||
|
||||
@@ -37,11 +37,11 @@ def mainlist(item):
|
||||
support.log()
|
||||
itemlist = []
|
||||
|
||||
support.menu(itemlist, 'Serie TV', 'serietv', host, 'episode') # mettere sempre episode per serietv, anime!!
|
||||
support.menu(itemlist, 'Serie TV Archivio submenu', 'serietv', host + "category/serie-tv-archive/", 'episode')
|
||||
support.menu(itemlist, 'Ultimi Aggiornamenti submenu', 'serietv', host + 'aggiornamento-episodi/', 'episode', args='True')
|
||||
support.menu(itemlist, 'Anime / Cartoni', 'serietv', host + 'category/anime-cartoni-animati/', 'episode')
|
||||
support.menu(itemlist, 'Cerca...', 'search', host, 'episode')
|
||||
support.menu(itemlist, 'Serie TV', 'serietv', host, 'tvshow') # mettere sempre episode per serietv, anime!!
|
||||
support.menu(itemlist, 'Serie TV Archivio submenu', 'serietv', host + "category/serie-tv-archive/", 'tvshow')
|
||||
support.menu(itemlist, 'Ultimi Aggiornamenti submenu', 'serietv', host + 'aggiornamento-episodi/', 'tvshow', args='True')
|
||||
support.menu(itemlist, 'Anime / Cartoni', 'serietv', host + 'category/anime-cartoni-animati/', 'tvshow')
|
||||
support.menu(itemlist, 'Cerca...', 'search', host, 'tvshow')
|
||||
|
||||
# richiesto per autoplay
|
||||
autoplay.init(item.channel, list_servers, list_quality)
|
||||
@@ -105,7 +105,7 @@ def episodios(item):
|
||||
itemlist.append(
|
||||
Item(channel=item.channel,
|
||||
action="findvideos",
|
||||
contentType=item.contentType,
|
||||
contentType='episode',
|
||||
title="[B]" + season_n + "x" + episode_n + " " + titolo + "[/B] " + season_lang,
|
||||
fulltitle=item.title, # Titolo nel video
|
||||
show=titolo + ":" + season_n + "x" + episode_n, # sottotitoletto nel video
|
||||
|
||||
@@ -311,7 +311,7 @@ def episodios(item, itemlist=[]):
|
||||
itemlist.append(
|
||||
Item(channel=item.channel,
|
||||
action="findvideos",
|
||||
contentTpye="tvshow",
|
||||
contentTpye="episode",
|
||||
title=title,
|
||||
fulltitle=scrapedtitle,
|
||||
url=scrapedurl,
|
||||
|
||||
@@ -32,9 +32,9 @@ def mainlist(item):
|
||||
support.menu(itemlist, 'Al Cinema bold', 'carousel', host, contentType='movie')
|
||||
support.menu(itemlist, 'Film alta definizione bold', 'peliculas', host, contentType='movie', args='film')
|
||||
support.menu(itemlist, 'Categorie Film bold', 'categorias_film', host , contentType='movie', args='film')
|
||||
support.menu(itemlist, 'Categorie Serie bold', 'categorias_serie', host, contentType='episode', args='serie')
|
||||
support.menu(itemlist, 'Categorie Serie bold', 'categorias_serie', host, contentType='tvshow', args='serie')
|
||||
support.menu(itemlist, '[COLOR blue]Cerca Film...[/COLOR] bold', 'search', host, contentType='movie', args='film')
|
||||
support.menu(itemlist, '[COLOR blue]Cerca Serie...[/COLOR] bold', 'search', host, contentType='episode', args='serie')
|
||||
support.menu(itemlist, '[COLOR blue]Cerca Serie...[/COLOR] bold', 'search', host, contentType='tvshow', args='serie')
|
||||
|
||||
autoplay.init(item.channel, list_servers, list_quality)
|
||||
autoplay.show_option(item.channel, itemlist)
|
||||
@@ -142,7 +142,7 @@ def categorias_serie(item):
|
||||
for scrapedurl, scrapedtitle in matches:
|
||||
itemlist.append(
|
||||
Item(channel=channel,
|
||||
contentType='episode',
|
||||
contentType='tvshow',
|
||||
action="peliculas_serie",
|
||||
title="[COLOR azure]" + scrapedtitle + "[/COLOR]",
|
||||
url=scrapedurl,
|
||||
@@ -205,7 +205,7 @@ def peliculas_serie(item):
|
||||
itemlist.append(
|
||||
Item(channel=item.channel,
|
||||
action="episodios",
|
||||
contentType='episode',
|
||||
contentType='tvshow',
|
||||
title=scrapedtitle,
|
||||
fulltitle=scrapedtitle,
|
||||
url=scrapedurl,
|
||||
|
||||
@@ -53,7 +53,7 @@ def mainlist(item):
|
||||
action='video',
|
||||
title='Serie TV',
|
||||
url=host+'/serie-tv/',
|
||||
contentType='episode',
|
||||
contentType='tvshow',
|
||||
thumbnail=''),
|
||||
Item(channel=item.channel,
|
||||
action='sottomenu_serie',
|
||||
@@ -119,19 +119,19 @@ def sottomenu_serie(item):
|
||||
action='video',
|
||||
title='Serie TV HD',
|
||||
url=host+'/watch-genre/serie-altadefinizione/',
|
||||
contentType='episode',
|
||||
contentType='tvshow',
|
||||
thumbnail=''),
|
||||
Item(channel=item.channel,
|
||||
action='video',
|
||||
title='Miniserie',
|
||||
url=host+'/watch-genre/miniserie/',
|
||||
contentType='episode',
|
||||
contentType='tvshow',
|
||||
thumbnail=''),
|
||||
Item(channel=item.channel,
|
||||
action='video',
|
||||
title='Programmi TV',
|
||||
url=host+'/watch-genre/programmi-tv/',
|
||||
contentType='episode',
|
||||
contentType='tvshow',
|
||||
thumbnail='')
|
||||
]
|
||||
|
||||
@@ -166,7 +166,7 @@ def video(item):
|
||||
if item.contentType == 'movie':
|
||||
azione = 'findvideos'
|
||||
tipologia = 'movie'
|
||||
if item.contentType == 'episode':
|
||||
if item.contentType == 'tvshow':
|
||||
azione='episodios'
|
||||
tipologia = 'tv'
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ def nuoveserie(item):
|
||||
itemlist.append(
|
||||
Item(channel=item.channel,
|
||||
action="episodios",
|
||||
contentType="episode",
|
||||
contentType="tvshow",
|
||||
title=scrapedtitle,
|
||||
fulltitle=scrapedtitle,
|
||||
url=scrapedurl,
|
||||
@@ -165,7 +165,7 @@ def serietvaggiornate(item):
|
||||
itemlist.append(
|
||||
Item(channel=item.channel,
|
||||
action="findepvideos",
|
||||
contentType="episode",
|
||||
contentType="tvshow",
|
||||
title=title,
|
||||
show=scrapedtitle,
|
||||
fulltitle=scrapedtitle,
|
||||
|
||||
Reference in New Issue
Block a user