def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append( item.clone(title="Peliculas", action="menupeliculas", thumbnail='https://s8.postimg.org/6wqwy2c2t/peliculas.png', fanart='https://s8.postimg.org/6wqwy2c2t/peliculas.png')) itemlist.append( item.clone(title="Series", action="lista", thumbnail='https://s27.postimg.org/iahczwgrn/series.png', fanart='https://s27.postimg.org/iahczwgrn/series.png', url=host + 'lista-de-series/', extra='series')) itemlist.append( item.clone(title="Doramas", action="lista", thumbnail='https://s15.postimg.org/sjcthoa6z/doramas.png', fanart='https://s15.postimg.org/sjcthoa6z/doramas.png', url=host + 'lista-de-doramas/', extra='series')) itemlist.append( item.clone( title="Documentales", action="lista", thumbnail='https://s16.postimg.org/7xjj4bmol/documental.png', fanart='https://s16.postimg.org/7xjj4bmol/documental.png', url=host + 'lista-de-documentales/', extra='peliculas')) itemlist.append( item.clone(title="Buscar", action="search", url=host + 'search?q=', thumbnail='https://s30.postimg.org/pei7txpa9/buscar.png', fanart='https://s30.postimg.org/pei7txpa9/buscar.png')) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append( Item(channel=item.channel, title="Todas", action="list_all", url=host, first=0)) itemlist.append( Item(channel=item.channel, title="Alfabético", action="alpha_list")) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): log() itemlist = [] menu(itemlist, 'Anime Leggendari', 'peliculas', host + '/category/anime-leggendari/') menu(itemlist, 'Anime ITA', 'peliculas', host + '/category/anime-ita/') menu(itemlist, 'Anime SUB-ITA', 'peliculas', host + '/category/anime-sub-ita/') menu(itemlist, 'Anime Conclusi', 'peliculas', host + '/category/serie-anime-concluse/') menu(itemlist, 'Anime in Corso', 'peliculas', host + '/category/anime-in-corso/') menu(itemlist, 'Genere', 'genres', host) menu(itemlist, 'Cerca...', 'search') menu(itemlist, 'novita', 'newest') autoplay.init(item.channel, list_servers, list_quality) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() itemlist = [] autoplay.init(item.channel, list_servers, list_quality) itemlist.append( Item(channel=item.channel, title="Videos" , action="lista", url=host + "/genre/clips-scenes/")) itemlist.append( Item(channel=item.channel, title="Peliculas" , action="lista", url=host + "/movies/")) itemlist.append( Item(channel=item.channel, title="Nuevas" , action="lista", url=host + "/genre/new-release/")) itemlist.append( Item(channel=item.channel, title="Parodias" , action="lista", url=host + "/genre/parodies/")) itemlist.append( Item(channel=item.channel, title="Canal" , action="categorias", url=host)) itemlist.append( Item(channel=item.channel, title="Categorias" , action="categorias", url=host)) itemlist.append( Item(channel=item.channel, title="Buscar", action="search")) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append(Item(channel= item.channel, title="Doramas", action="doramas_menu", thumbnail=get_thumb('doramas', auto=True), type='dorama')) itemlist.append(Item(channel=item.channel, title="Películas", action="list_all", url=host + 'catalogue?type[]=pelicula', thumbnail=get_thumb('movies', auto=True), type='movie')) itemlist.append(Item(channel=item.channel, title = 'Buscar', action="search", url= host+'search?q=', thumbnail=get_thumb('search', auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = [ item.clone(title="Novedades", action="peliculas", thumbnail=get_thumb('newest', auto=True), text_blod=True, page=0, viewcontent='movies', url=host + 'movies/', viewmode="movie_with_plot"), item.clone(title="Tendencias", action="peliculas", thumbnail=get_thumb('newest', auto=True), text_blod=True, page=0, viewcontent='movies', url=host + 'tendencias/?get=movies', viewmode="movie_with_plot"), item.clone(title="Estrenos", action="peliculas", thumbnail=get_thumb('estrenos', auto=True), text_blod=True, page=0, viewcontent='movies', url=host + 'genre/estrenos/', viewmode="movie_with_plot"), item.clone(title="Géneros", action="genresYears", thumbnail=get_thumb('genres', auto=True), text_blod=True, page=0, viewcontent='movies', url=host, viewmode="movie_with_plot"), item.clone(title="Buscar", action="search", thumbnail=get_thumb('search', auto=True), text_blod=True, url=host, page=0) ] autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): support.log() itemlist = [] support.menu(itemlist, 'Al Cinema', 'peliculas', host + '/cinema/') support.menu(itemlist, 'Ultimi Film Inseriti', 'peliculas', host) support.menu(itemlist, 'Film Sub-ITA', 'peliculas', host + '/sub-ita/') support.menu(itemlist, 'Film Ordine Alfabetico ', 'AZlist', host + '/catalog/') support.menu(itemlist, 'Categorie Film', 'categories', host) support.menu(itemlist, 'Cerca...', 'search') autoplay.init(item.channel, list_servers, list_quality) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() thumb_series = get_thumb("channels_tvshow.png") autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append( Item(channel=item.channel, action="lista", title="Series", url=host, thumbnail=thumb_series, page=0)) itemlist = renumbertools.show_option(item.channel, itemlist) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() itemlist = list() idioma2 = "destacadas" if site > 0: item.action = 'submenu' item.host = site_lang return submenu(item) autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append( Item(channel=item.channel, title="CineCalidad Latino", action="submenu", host=host, thumbnail=thumbmx)) itemlist.append( Item(channel=item.channel, title="CineCalidad Castellano", action="submenu", host=host + '/espana/', thumbnail=thumbes)) # itemlist.append(Item(channel=item.channel, # title="CineCalidad Portugues", # action="submenu", # host="https://www.cinemaqualidade.im", # thumbnail=thumbbr)) itemlist.append( Item(channel=item.channel, title="Configurar Canal...", text_color="turquoise", action="settingCanal", thumbnail=get_thumb('setting_0.png'), url='', fanart=get_thumb('setting_0.png'))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() itemlist = [] autoplay.init(item.channel, list_servers, list_quality) # itemlist.append(item.clone(title="1" , action="prueba", url= host + "pelicula/", thumbnail=get_thumb("movies", auto=True))) itemlist.append(item.clone(title="Peliculas" , action="lista", url= host + "pelicula/", thumbnail=get_thumb("movies", auto=True))) itemlist.append(item.clone(title="Genero" , action="categorias", url= host, thumbnail=get_thumb('genres', auto=True))) itemlist.append(item.clone(title="Series", action="lista", url= host + "series/", thumbnail=get_thumb("tvshows", auto=True))) itemlist.append(item.clone(title="Anime", action="lista", url= host + "category/anime/", thumbnail=get_thumb("anime", auto=True))) itemlist.append(item.clone(title="Año" , action="anno")) itemlist.append(item.clone(title="Alfabetico", action="section", url=host, thumbnail=get_thumb("alphabet", auto=True))) itemlist.append(item.clone(title="Buscar...", action="search", thumbnail=get_thumb("search", auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append(Item(channel=item.channel, title='Peliculas', action='sub_menu', url=host + "pelicula", thumbnail=get_thumb('movies', auto=True), type="pelicula")) itemlist.append(Item(channel=item.channel, title='Series', url=host + 'series', action='sub_menu', thumbnail=get_thumb('tvshows', auto=True))) itemlist.append(Item(channel=item.channel, title="Buscar...", action="search", url=host + '?s=', thumbnail=get_thumb("search", auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append( Item(channel=item.channel, title="Todos", action="todas", url=host, thumbnail='https://s27.postimg.org/iahczwgrn/series.png', fanart='https://s27.postimg.org/iahczwgrn/series.png', page=0 )) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() itemlist = [] autoplay.init(item.channel, list_servers, list_quality) itemlist.append( Item(channel=item.channel, title="Peliculas", action="movies", url=host, page=0, thumbnail=get_thumb('movies', auto=True))) itemlist.append( Item(channel=item.channel, action="category", title="Año de Estreno", url=host, cat='year', page=0, thumbnail=get_thumb('year', auto=True))) itemlist.append( Item(channel=item.channel, action="category", title="Géneros", url=host, cat='genre', page=0, thumbnail=get_thumb('genres', auto=True))) itemlist.append( Item(channel=item.channel, action="category", title="Calidad", url=host, cat='quality', page=0, thumbnail=get_thumb("quality", auto=True))) itemlist.append( Item(channel=item.channel, title="Buscar", action="search", url=host + "?s=", page=0, thumbnail=get_thumb("search", auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append( Item(channel=item.channel, title='Peliculas', action='menu_movies', thumbnail=get_thumb('movies', auto=True))) itemlist.append( Item(channel=item.channel, title='Series', url=host + '/genero/serie', action='list_all', type='tvshows', thumbnail=get_thumb('tvshows', auto=True))) itemlist.append( Item(channel=item.channel, title='Anime', url=host + '/genero/anime', action='list_all', type='tvshows', thumbnail=get_thumb('anime', auto=True))) itemlist.append( Item(channel=item.channel, title='Telenovelas', url=host + '/genero/telenovelas-teleseries', action='list_all', type='tvshows', thumbnail=get_thumb('telenovelas', auto=True))) itemlist.append( item.clone(title="Buscar", action="search", url=host + '?s=', thumbnail=get_thumb("search", auto=True), extra='movie')) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append( Item(channel=item.channel, action="novedades_episodios", title="Últimos episodios", url=HOST + 'anime-online.html', thumbnail="https://i.imgur.com/w941jbR.png")) itemlist.append( Item(channel=item.channel, action="novedades_anime", title="Últimos animes", url=HOST + 'anime-online.html', thumbnail="https://i.imgur.com/hMu5RR7.png")) itemlist.append( Item(channel=item.channel, action="listado", title="Animes", url=HOST + "animes/nombre/lista", thumbnail='https://i.imgur.com/50lMcjW.png')) itemlist.append( Item(channel=item.channel, action="search_section", title="Géneros", url=HOST + "animes", extra="genre", thumbnail='https://i.imgur.com/Xj49Wa7.png')) itemlist.append( Item(channel=item.channel, action="search", title="Buscar...", thumbnail='https://i.imgur.com/4jH5gpT.png')) itemlist = renumbertools.show_option(item.channel, itemlist) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append( Item(channel=item.channel, title="Anime", action="sub_menu", thumbnail='')) itemlist.append( Item(channel=item.channel, title="Películas", action="list_all", thumbnail=get_thumb('movies', auto=True), url=host + 'inc/a.pelicula.php', page='1')) itemlist.append( Item(channel=item.channel, title="Géneros", action="section", thumbnail=get_thumb('genres', auto=True), url=host + 'estrenos/')) itemlist.append( Item(channel=item.channel, title="Alfabetico", action="section", thumbnail=get_thumb('alphabet', auto=True), url=host + 'estrenos/')) itemlist.append( Item(channel=item.channel, title="Buscar", action="search", url=host + 'resultado/?buscar=', thumbnail=get_thumb('search', auto=True), fanart='https://s30.postimg.cc/pei7txpa9/buscar.png')) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() import ast from core import jsontools data = '{"country_code":"PE","country_name":"Peru","city":null,"postal":null,"latitude":-12.0433,"longitude":-77.0283,"IPv4":"190.41.210.15","state":null}' data = data.replace("null", '"null"') logger.info("Intel22 %s" % data) user_loc = ast.literal_eval(data) autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append( Item(channel=item.channel, title="Novedades", action="peliculas", url=host, thumbnail=get_thumb("newest", auto=True))) itemlist.append( Item(channel=item.channel, title="Por género", action="generos_years", url=host, extra="Genero", thumbnail=get_thumb("genres", auto=True))) itemlist.append( Item(channel=item.channel, title="Por año", action="generos_years", url=host, extra=">Año<", thumbnail=get_thumb("year", auto=True))) itemlist.append( Item(channel=item.channel, title="Favoritas", action="favorites", url=host + "/favorites", thumbnail=get_thumb("favorites", auto=True))) itemlist.append(Item(channel=item.channel, title="")) itemlist.append( Item(channel=item.channel, title="Buscar", action="search", url=host + "?s=", thumbnail=get_thumb("search", auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() itemlist = list() autoplay.init(item.channel, list_servers, list_quality) itemlist.append( Item(channel=item.channel, title="Nuevos Capítulos", url=host, action="new_episodes", thumbnail=get_thumb('new episodes', auto=True))) itemlist.append( Item(channel=item.channel, title="Emision", url=host + 'animes?type%5B%5D=tv&estado%5B%5D=1', action="list_all", thumbnail=get_thumb('on air', auto=True))) itemlist.append( Item(channel=item.channel, title="Recientes", url=host, action="list_all", thumbnail=get_thumb('recents', auto=True))) itemlist.append( Item(channel=item.channel, title="Todas", url=host + 'animes', action="list_all", thumbnail=get_thumb('all', auto=True))) itemlist.append( Item(channel=item.channel, title="Buscar", url=host + 'animes?q=', action="search", thumbnail=get_thumb('search', auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() itemlist = [] autoplay.init(item.channel, list_servers, list_quality) itemlist.append( Item(channel=item.channel, title='Peliculas', url=host + 'pelicula', action='list_all', thumbnail=get_thumb('movies', auto=True))) itemlist.append( Item(channel=item.channel, title='Series', url=host + 'serie', action='list_all', thumbnail=get_thumb('tvshows', auto=True))) itemlist.append( Item(channel=item.channel, title='Por Generos', action='section', thumbnail=get_thumb('genres', auto=True), _id='4709')) itemlist.append( Item(channel=item.channel, title='Por Año', action='section', thumbnail=get_thumb('year', auto=True), _id='21052')) itemlist.append( Item(channel=item.channel, title="Buscar...", action="search", url=host + '?s=', thumbnail=get_thumb("search", auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append( item.clone(title="Todas", action="lista", thumbnail=get_thumb('all', auto=True), fanart='https://s18.postimg.cc/fwvaeo6qh/todas.png', url='%s%s'%(host,'peliculas/'), first=0 )) itemlist.append( item.clone(title="Generos", action="seccion", thumbnail=get_thumb('genres', auto=True), fanart='https://s3.postimg.cc/5s9jg2wtf/generos.png', url='%s%s' % (host, 'peliculas/'), )) itemlist.append( item.clone(title="Mas Vistas", action="lista", thumbnail=get_thumb('more watched', auto=True), fanart='https://s9.postimg.cc/wmhzu9d7z/vistas.png', url='%s%s'%(host,'top-imdb/'), first=0 )) itemlist.append( item.clone(title="Buscar", action="search", url='http://doomtv.net/?s=', thumbnail=get_thumb('search', auto=True), fanart='https://s30.postimg.cc/pei7txpa9/buscar.png' )) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append( Item( channel=item.channel, title="Todas", action="list_all", thumbnail=get_thumb('all', auto=True), url=host + 'listado/', )) itemlist.append( Item( channel=item.channel, title="Generos", action="section", thumbnail=get_thumb('genres', auto=True), url=host, )) itemlist.append( Item( channel=item.channel, title="A - Z", action="section", thumbnail=get_thumb('alphabet', auto=True), url=host + 'listado/', )) itemlist.append( Item(channel=item.channel, title="Buscar", action="search", thumbnail=get_thumb('search', auto=True))) itemlist = filtertools.show_option(itemlist, item.channel, list_language, list_quality) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append( Item(channel=item.channel, title="Ultimas", action="list_all", url=host, thumbnail=get_thumb("last", auto=True))) itemlist.append( Item(channel=item.channel, title="Todas", action="list_all", url=host + 'movies', thumbnail=get_thumb("all", auto=True))) itemlist.append( Item(channel=item.channel, title="Destacadas", action="list_all", url=host + 'peliculas-destacadas', thumbnail=get_thumb("hot", auto=True))) itemlist.append( Item(channel=item.channel, title="Generos", action="categories", url=host, thumbnail=get_thumb('genres', auto=True))) itemlist.append( Item(channel=item.channel, title="Buscar", action="search", url=host, thumbnail=get_thumb("search", auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() itemlist = list() autoplay.init(item.channel, list_servers, list_quality) itemlist.append( Item(channel=item.channel, action="list_all", thumbnail=get_thumb("All", auto=True), title="Todas", url=host)) itemlist.append( Item(channel=item.channel, action="section", thumbnail=get_thumb("language", auto=True), title="Idiomas", url=host)) itemlist.append( Item(channel=item.channel, action="section", thumbnail=get_thumb("quality", auto=True), title="Calidad", url=host)) itemlist.append( Item(channel=item.channel, action="section", thumbnail=get_thumb("genres", auto=True), title="Generos", url=host)) itemlist.append( Item(channel=item.channel, action="search", thumbnail=get_thumb("search", auto=True), url=host + "?s=", title="Buscar...")) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append( item.clone(title="Ultimas", action="list_all", url=host, thumbnail=get_thumb('last', auto=True))) itemlist.append( item.clone(title="Generos", action="section", section='genre', thumbnail=get_thumb('genres', auto=True))) itemlist.append( item.clone(title="Castellano", action="list_all", url=host + '?s=Español', thumbnail=get_thumb('audio', auto=True))) itemlist.append( item.clone(title="Latino", action="list_all", url=host + '?s=Latino', thumbnail=get_thumb('audio', auto=True))) itemlist.append( item.clone(title="VOSE", action="list_all", url=host + '?s=Subtitulado', thumbnail=get_thumb('audio', auto=True))) itemlist.append( item.clone(title="Alfabetico", action="section", section='alpha', thumbnail=get_thumb('alphabet', auto=True))) itemlist.append( item.clone(title="Buscar", action="search", url=host + '?s=', thumbnail=get_thumb('search', auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = [] itemlist.append( Item(channel=item.channel, title='Peliculas', action='sub_menu', type='peliculas', thumbnail=get_thumb('movies', auto=True))) itemlist.append( Item(channel=item.channel, title='Series', action='sub_menu', type='series', thumbnail=get_thumb('tvshows', auto=True))) itemlist.append( Item(channel=item.channel, title='Animes', action='sub_menu', type='animes', thumbnail=get_thumb('anime', auto=True))) itemlist.append( Item(channel=item.channel, title='Colecciones', action='list_collections', url=host + 'listas', thumbnail=get_thumb('colections', auto=True))) itemlist.append( Item(channel=item.channel, title='Buscar...', action="search", url=host + 'search?go=', thumbnail=get_thumb("search", auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append( Item(channel=item.channel, title='Ultimas', url=host + 'genre/estrenos-hd', action='list_all', thumbnail=get_thumb('all', auto=True))) itemlist.append( Item(channel=item.channel, title='Todas', url=host + 'pelicula', action='list_all', thumbnail=get_thumb('all', auto=True))) itemlist.append( Item(channel=item.channel, title='Netflix', url=host + 'genre/netflix/', action='list_all', thumbnail=get_thumb('movies', auto=True))) itemlist.append( Item(channel=item.channel, title='Generos', action='section', url=host, thumbnail=get_thumb('genres', auto=True))) itemlist.append( Item(channel=item.channel, title="Buscar...", action="search", url=host + '?s=', thumbnail=get_thumb("search", auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() thumb_series = get_thumb("tvshows", auto=True) autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append( Item(channel=item.channel, action="lista", title="Novedades", url=host, thumbnail=thumb_series, category="series", page=0, plot="Tus series animadas de la infancia")) itemlist.append( Item(channel=item.channel, action="letters", title="Listado alfabético", url=host + "lista.php?or=abc", thumbnail=get_thumb("alphabet", auto=True), page=0, plot="Tus series animadas de la infancia")) itemlist.append( Item(channel=item.channel, action="lista", title="Series Live Action", url=host + "liveaction", thumbnail=thumb_series, page=0, category="liveaction", plot="Series LiveAction de los 90s y 2000")) itemlist.append( Item(channel=item.channel, action="search", title="Buscar...", thumbnail=get_thumb("search", auto=True))) itemlist = renumbertools.show_option(item.channel, itemlist) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append( Item(channel=item.channel, title="Películas", action="list_all", thumbnail=get_thumb('movies', auto=True), url='%s%s' % (host, '/peliculas/'))) itemlist.append( Item(channel=item.channel, title="Series", action="list_all", thumbnail=get_thumb('tvshows', auto=True), url='%s%s' % (host, '/series/'))) itemlist.append( Item(channel=item.channel, title="Documentales", action="list_all", thumbnail=get_thumb('documentaries', auto=True), url='%s%s' % (host, '/genre/documentales/'))) itemlist.append( Item(channel=item.channel, title="Generos", action="seccion", thumbnail=get_thumb('genres', auto=True), url=host)) itemlist.append( Item(channel=item.channel, title="Buscar", action="search", url=host + '/?s=', thumbnail=get_thumb('search', auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() autoplay.init(item.channel, list_servers, list_quality) itemlist = list() itemlist.append( Item(channel=item.channel, title="Peliculas", action="list_all", url=host + "movies-hd/", thumbnail=get_thumb('movies', auto=True))) itemlist.append( Item(channel=item.channel, title="Series", action="list_all", url=host + "series/", thumbnail=get_thumb('tvshows', auto=True))) itemlist.append( Item(channel=item.channel, title="Generos", action="section", url=host, thumbnail=get_thumb('genres', auto=True))) itemlist.append( Item(channel=item.channel, title="Por Año", action="section", url=host, thumbnail=get_thumb('year', auto=True))) itemlist.append( Item(channel=item.channel, title="Buscar", action="search", url=host + "?s=", thumbnail=get_thumb("search", auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist
def mainlist(item): logger.info() itemlist = list() autoplay.init(item.channel, list_servers, list_quality) itemlist.append( Item(channel=item.channel, title="Ultimas", url=host + 'ver-pelicula-online/', action="list_all", thumbnail=get_thumb('last', auto=True))) itemlist.append( Item(channel=item.channel, title="Destacadas", url=host + 'calificaciones/', action="list_all", thumbnail=get_thumb('destacadas', auto=True))) itemlist.append( Item(channel=item.channel, title="Mas Vistas", url=host + 'tendencias/', action="list_all", thumbnail=get_thumb('more watched', auto=True))) itemlist.append( Item(channel=item.channel, title="Alfabético", url=host, action="alpha", thumbnail=get_thumb('alphabet', auto=True))) itemlist.append( Item(channel=item.channel, title="Buscar...", url=host + '?s=', action="search", thumbnail=get_thumb('search', auto=True))) autoplay.show_option(item.channel, itemlist) return itemlist