Sprijin Bază de date filme (The Movie Database)

When using the API call for upcoming movies I am getting a response with movies that have been already released. Even those that were released several months ago.

4 răspunsuri (pe pagină 1 din 1)

Jump to last post

@bmf1418 said:

When using the API call for upcoming movies I am getting a response with movies that have been already released. Even those that were released several months ago.

This API( https://developer.themoviedb.org/reference/movie-upcoming-list )The returned result (results. release_date) does not seem to be between (dates. maximum) and (dates. minimum), perhaps this is a bug?, Or is there a very serious data caching error?

I invite you to read this previous discussion.

Also, here is some more information on regions, release dates, and release types: https://developer.themoviedb.org/docs/region-support

The reason the returned result does not fit in the search window, I believe the returned result is the primary release date, that is, the one date that is associated with the original release of the movie (and the year that is usually associated with the title). However, the discover search actually uses "release_date" and not "primary_release_date" so it is searching for all types of release dates associated with the title.

For example, the movie "Sisu": https://www.themoviedb.org/movie/840326-sisu/releases

The original release date is 1/27/23 in Finland, but there are numerous other release dates in other countries, some of which fall in the search window.

You can try adding "region=US" or "region=YOUR_COUNTRY" to your query and this will probably give you closer to the results that you are looking for.

@robbie3999 said:

Also, here is some more information on regions, release dates, and release types: https://developer.themoviedb.org/docs/region-support

The reason the returned result does not fit in the search window, I believe the returned result is the primary release date, that is, the one date that is associated with the original release of the movie (and the year that is usually associated with the title). However, the discover search actually uses "release_date" and not "primary_release_date" so it is searching for all types of release dates associated with the title.

For example, the movie "Sisu": https://www.themoviedb.org/movie/840326-sisu/releases

The original release date is 1/27/23 in Finland, but there are numerous other release dates in other countries, some of which fall in the search window.

You can try adding "region=US" or "region=YOUR_COUNTRY" to your query and this will probably give you closer to the results that you are looking for.

Adding the region to the query got the result I wanted. Thank you.

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Global

s focalizați bara de căutare
p deschideți meniul profilului
esc închide o fereastră deschisă
? deschideți fereastra de scurtături de la tastatură

Pe paginile media

b înapoi (sau la pornire atunci când este cazul)
e accesați pagina de editare

Pe paginile sezonului TV

(săgeată dreapta) mergeți la sezonul următor
(săgeată stânga) mergeți la sezonul precedent

Pe paginile episoadelor TV

(săgeată dreapta) mergeți la următorul episod
(săgeată stânga) mergeți la episodul anterior

Pe toate paginile de imagini

a deschideți fereastra pentru adăugarea imaginii

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimiteți formularul

Pe paginile de discuții

n creați o nouă discuție
w comutați stare de vizionare
p comutați public/privat
c comutați închidere/deschidere
a deschide activitatea
r răspuns la discuție
l mergeți la ultimul răspuns
ctrl+ enter trimiteți mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina anterioară

Setări

Doriți să evaluați sau să adăugați acest element într-o listă?

Autentificare