The Movie Database Support

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 replies (on page 1 of 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

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login