From 64f9338ce79272571017e4e9fa20ebbbe7911408 Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Wed, 11 Mar 2020 19:23:34 +0100 Subject: [PATCH] Polpo Tv, Menu standard --- channels/polpotv.py | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/channels/polpotv.py b/channels/polpotv.py index 5b813251..096013ea 100644 --- a/channels/polpotv.py +++ b/channels/polpotv.py @@ -18,13 +18,21 @@ list_quality = ['1080p','720p','480p','360p'] @support.menu def mainlist(item): - menu = [ - ('Ultimi Film aggiunti', ['/api/movies', 'peliculas', '']), - ('Ultime Serie TV aggiunte', ['/api/shows', 'peliculas', '']), - ('Generi', ['/api/genres', 'search_movie_by_genre', '']), - ('Anni {film}', ['', 'search_movie_by_year', '']), - ('Cerca... bold', ['', 'search', '']) - ] + # menu = [ + # ('Ultimi Film aggiunti', ['/api/movies', 'peliculas', '']), + # ('Ultime Serie TV aggiunte', ['/api/shows', 'peliculas', '']), + # ('Generi', ['/api/genres', 'search_movie_by_genre', '']), + # ('Anni {film}', ['', 'search_movie_by_year', '']), + # ('Cerca... bold', ['', 'search', '']) + # ] + film = ['/api/movies', + ('Generi', ['/api/genres', 'search_movie_by_genre', '']), + ('Anni', ['', 'search_movie_by_year', '']),] + + tvshow=['/api/shows'] + + search='' + return locals() def newest(categoria):