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