Axuda 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 respostas (na páxina 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

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión