Suport de The Movie Database

Hi!

Love the site! I think I've found an issue in the movie filter in the discover API. Looks like it is returning movies that are outside of the requested date range. Seems to affect the UI too when filtering by release date.

E.g:

https://api.themoviedb.org/3/discover/movie?api_key=<APIKEY>&release_date.gte=2020-10-12&sort_by=popularity.desc&vote_average.gte=7&vote_average.lte=10&vote_count.gte=100&with_release_type=4%7C5&page=3

returns Avengers: Infinity War which has a release date of: 2018-04-25. There seems to be an average of 2-3 movies per page that are before the 2020-10-12 filter. One as far back as 1993.

Cheers

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

Jump to last post

@meringu said:
Release date filter
Hi!
Love the site! I think I've found an issue in the movie filter in the discover API. Looks like it is returning movies that are outside of the requested date range. Seems to affect the UI too when filtering by release date.
E.g https://api.themoviedb.org/3/discover/movie?api_key=&release_date.gte=2020-10-12&sort_by=popularity.desc&vote_average.gte=7&vote_average.lte=10&vote_count.gte=100&with_release_type=4%7C5&page=3
returns Avengers: Infinity War which has a release date of: 2018-04-25. There seems to be an average of 2-3 movies per page that are before the 2020-10-12 filter. One as far back as 1993.

Try switching to primary_release_date.gte

primary_release_date = is the date chosen by the TMDb system to be the official release date for a Movie. World Premiere.
This date determines the year that appears in parentheses next to the film's title on the film's page.

release_date = are all the release dates of a Movie in each and every country in the world, over time,
including premieres, festival, on television, in Bluray or DVD, digital media, etc ...

A movie can only have one primary_release_date
But it can have several and countless release_date

A different opening date for each country, for each media,
for open television, for cable TV, re-releases, 50th anniversary celebration, etc ... etc ... etc ...

Hey the release date filter on the website doesn't seem to work on the search page on the website either. What am I doing wrong?

@Rex5k said:

Hey the release date filter on the website doesn't seem to work on the search page on the website either. What am I doing wrong?

If you don't give us a specific example, we can't answer you.

Here is an example using the filtering by date, that doesn't seem to work: https://ibb.co/NYdQmgF

@katalitis@gmail.com said:

Here is an example using the filtering by date, that doesn't seem to work: https://ibb.co/NYdQmgF

Why do you think that it is not working ? All the movies visible on the screenshot have at least one release during the indicated period.

Great, thanks for the reply. So then the question becomes, can I filter in the browser by "initial release", or something similar? I suppose that this was also the issue of the comment above.

By initial release, no.

But, by unselecting "Search all releases", you will be able to select the release type and the country.

Thank you very much @superboy97 ! It did work as suggested!

Some clarifications (and possibly feedback): For me, it was mostly a UX issue. When unselecting "Search all releases", new options appeared, that were not shown as "children" of "all releases", and the date pickers moved down. That made me think that I lost the option to select the date range (I didn't search for it a few rows bellow).

I'm sorry, but would it be possible to filter by initial release on the website anytime soon? Filtering by any type of release doesn't seem to do much or be useful. For example: https://imgur.com/a/QvbfraT

It's also confusing that sorting presumes the initial release, but filtering doesn't even include such an option.

After some digging in the forum, I found out that there's a ticket for this, but it's in the backlog from Sep 23, 2024 already. That's unfortunate.

https://trello.com/c/9V7J5N0J/248-add-a-primary-release-date-filter-to-discover

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鈥檈dici贸

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贸