Suport de The Movie Database

When using the API to call upcoming movies it is falling back as much as 11 years even with a date range applied - this also happens on the TMDB site itself (try it and add a date range); this is counter-intuitive as a movie from 2009 is not upcoming. Can this be investigated and corrected so that only movies that have not been released yet can appear in upcoming movies?

With thanks

4 resposta (a les p脿gines 1 de 1)

Jump to last post

Hi @Davyc1,

There's some subtlety here that you need to watch out for, and also let's separate the website query from the API query. The upcoming query searches for releases types 2 & 3, in that order, and without a specified region, will search worldwide. Let's compare these two queries:

https://api.themoviedb.org/3/movie/upcoming?api_key=###

Returns 132 items right now.

https://api.themoviedb.org/3/movie/upcoming?api_key=###&region=US

Returns 17 items right now. Behind the scenes this is just assembling a discover query, so depending on your use case you are free to tweak this and build your own (say to include digital releases).

Now, the website will show you all the filters so you can see exactly what's going on. Click the "Filters" dropdown and you'll see what's happening. Depending on your country, it may be doing different things, but as an example here's mine right now from Canada. This is the "default" view, I have not clicked or changed any settings.

Hi Travis

Thanks for the quick reply. I've set my filters pretty much the same as you but I'm still getting old movies showing despite setting a date filter.

This is what I get

It really doesn't matter what filters I set there are very old movies being returned.

@Davyc1 said:
... I've set my filters pretty much the same as you but I'm still getting old movies showing despite setting a date filter.
This is what I get
It really doesn't matter what filters I set there are very old movies being returned.

The film The Ugly Truth (2009) has a release date in Ireland at 2020-08-05.

https://www.themoviedb.org/movie/20943-the-ugly-truth/releases

It is probably this date that is causing this problem.
I don't know if it's a correct date or not.
If you can post the Upcoming API Request you made here, we may be able to find out what the problem is.
When you say you made the same API Request that Travis Bell did, did you define the same region? &region=US?
In wich country are you? Was it Ireland?

I think I got the filters figured out - it took a bit of experimenting but I got the list down to 11 all not released yet, so it's just a matter of experimenting with the filters to get the result required.

Thanks all for your help and input - fantastic support and a great site that is just top notch - thanks again :)

No trobeu una pel路l铆cula o una s猫rie? Inicieu la sessi贸 per a crear-la.

Global

s centra la barra de cerca
p obre el men煤 del perfil
esc tanca una finestra oberta
? obre la finestra de dreceres de teclat

A les p脿gines de materials

b torna enrere (o la superior quan sigui aplicable)
e ves a la p脿gina d'edici贸

A les p脿gines de temporades

(fletxa dreta) ves a la temporada seg眉ent
(fletxa esquerra) ves a la temporada anterior

A les p脿gines d'episodis

(fletxa dreta) ves a l'episodi seg眉ent
(fletxa esquerra) ves a l'episodi anterior

A totes les p脿gines d'imatges

a obre la finestra d'afegir imatges

A totes les p脿gines d'edici贸

t obre el selector de traducci贸
ctrl+ s envia el formulari

A les p脿gines de debat

n crea un debat nou
w canvia l'estat de visualitzaci贸
p canvia p煤blic/privat
c tanca o obre
a obre activitat
r resposta al debat
l ves a la darrera resposta
ctrl+ enter envieu el vostre missatge
(fletxa dreta) p脿gina seg眉ent
(fletxa esquerra) p脿gina anterior

Configuracions

Desitgeu valorar o afegir aquest element a una llista?

Inicieu la sessi贸