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 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区