diff --git a/channels/polpotv.json b/channels/polpotv.json index cb84f441..b49a1a77 100644 --- a/channels/polpotv.json +++ b/channels/polpotv.json @@ -10,4 +10,4 @@ "not_active":[], "default_off":["include_in_newest"], "settings": [] -} +} \ No newline at end of file diff --git a/channels/polpotv.py b/channels/polpotv.py index 49d8f2d2..a3a268a0 100644 --- a/channels/polpotv.py +++ b/channels/polpotv.py @@ -20,7 +20,7 @@ list_quality = ['1080p','720p','480p','360p'] @support.menu def mainlist(item): menu = [ - ('Ultimi Film aggiunti', ['/api/movies?order[lastReleaseAt]=desc', 'peliculas', '']), + ('Ultimi Film aggiunti', ['/api/movies?order[releaseDate]=desc&lastReleaseAt[null]=false', 'peliculas', '']), ('Generi', ['/api/genres', 'search_movie_by_genre', '']), ('Anni {film}', ['', 'search_movie_by_year', '']), ('Cerca Film... bold', ['', 'search', '']) @@ -32,7 +32,7 @@ def newest(categoria): item = Item() if categoria == 'peliculas': item.contentType = 'movie' - item.url = host + '/api/movies?order[lastReleaseAt]=desc' + item.url = host + '/api/movies?order[releaseDate]=desc&lastReleaseAt[null]=false' return peliculas(item) def peliculas(item):