Soporte 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 respuestas (en la página 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 encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión