The Movie Database 支持

Hi,

For some time now, I've been specifying the with_release_type parameter when searching for movies and series so it would not return a theatrical premiere date by default. I don't believe this was explicitly documented for search so I'm not necessarily surprised it broke. It was documented here for discover. In any case, it would be a positive addition to search.

When displaying search results, I only want to display the release date that matters to users: the theatrical or digital release for their region. That's because it's not helpful to most users to see a premiere or limited (re)release by default, without knowing it is one.

Unless I'm mistaken, calling the following worked fine until recently. It would only return a type 3 and 4 release date or default to the US date if not. This does not seem to work any longer.

/search/movie?language=\(languageCode)&query=\(input)&region=\(regionCode)&with_release_type=3,4

For "The Godfather Part III" for example, the following search returns 2020, a limited theatrical re-release, instead of the 1990 original release.

https://api.themoviedb.org/3/search/movie?query=godfather&region=US&with_release_type=3,4

I'm aware that not specifying a region would solve this problem for users in the US but then it would show incorrect dates for everyone else. In general, I feel premieres and limited releases should be treated as outliers instead of the default. Would you consider a tweak to this behaviour?

3 回复(第 1 页,共 1 页)

Jump to last post

@travisbell Is this something that's on your radar? Users still complain of this behaviour and there's nothing I can do, as far as I know.

There are two possible solutions I can see:

  • Re-introduce the with_release_type parameter for search (assuming I'm correct in thinking it used to work).
  • Update the default behaviour when specifying a region to return the first release date, excluding premieres and limited theatrical releases. Hopefully this makes sense and can be considered in a future update! 🙏

Hey @Romain_lfb,

I'll have to give a think as to whether we want to enable with_release_type or not but in the meantime, just so you are aware, region does work.

Appreciate the consideration @travisbell !

To clarify my comment about region, it definitely works but interestingly, not providing it can give better results. To keep "The Godfather Part III" as an example, specifying US as a region returns 2020 but not specifying US returns 1990. Of course that works for the US in this case but wouldn't really scale to other regions.

I don't know whether that "default" release date is calculated on the fly or manually entered but it'd be cool if the release date returned for any region followed the same underlying logic as this would ensure it's relevant to all users.

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

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

登录

还不是会员?

注册加入社区