From 816c97ad46dd316fcd20acea4556834ef24fa2d8 Mon Sep 17 00:00:00 2001 From: Whiplash Date: Thu, 7 Nov 2019 23:44:47 +0100 Subject: [PATCH] [polpotv] movie list url update --- channels/polpotv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):