Supporto The Movie Database

https://api.themoviedb.org/3/movie/now_playing?page=40&api_key="PRIVATE"&language=en

returns 0 sized results list as well as incorrect dates, total_pages, and total_results values. In fact, after checking more thoroughly I've noticed that other pages contain all sorts of different values than is expressed in the first couple of pages. The following results from page 39, 40, and 41 illustrate the bug:

PAGE 39:

{"dates": {"minimum": "2015-10-21","maximum": "2015-12-02"},"page": 39,"results": [{...}],"total_pages": 43,"total_results": 854}

PAGE 40:

{"dates": {"minimum": "2015-10-28","maximum": "2015-12-09"},"page": 40,"results": [],"total_pages": 37,"total_results": 726}

PAGE 41:

{"dates": {"minimum": "2015-10-21","maximum": "2015-12-02"},"page": 41,"results": [{...}],"total_pages": 43,"total_results": 856}

2 risposte (nella pagina 1 di 1)

Jump to last post

Hi judsonbelnap@gmail.com,

This would just be a cache issue. I can see the results right now are only reporting 37 pages.

Parts of the API are in the midst of being re-written to be cache-less and you'll see this problem disappear when the featured movie lists get that treatment.

Cheers.

By the way, the /now_playing and /upcoming methods have been updates and are now cache-less so you won't see this problem again.

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi