Поддержка 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 ответов (на странице 1 из 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

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти