I feel like I missed Using the TMDB API 101. I was under the [seemingly incorrect] impression that there are three media_types
:
movie
tv
person
But, if one searches (using search/multi
) for a cric
, some of the responses have a media_type
of collection
.
I've searched the API documentation, but now I'm worried I've made some real crummy assumptions about how media_type
works. Is there any sort of "here's the media types we support" section of the API documentation I can look at?
Thanks!
-Clue Liss
找不到电影或节目?登录并创建它吧。
Travis Bell 的回复
于 2024 年 04 月 17 日 5:40下午
Hey Casey,
The collection items are not supposed to be returned in movie and multi searches. I think there's a bug where some items aren't switching to and from properly. Collections are created by being a movie first, and then switching their type to a "collection". The only items that should be returned in a multi search are movies, tv shows and people. So you are not being clue liss.
I should have time to investigate this in a day or two.
caseyliss 的回复
于 2024 年 04 月 17 日 5:43下午
Thanks, @travisbell! Glad to know I'm not nuts… for this reason anyway.
MovieCast 的回复
于 2024 年 11 月 06 日 8:29下午
this is still the issue. for example for query "Холоп", in multi search returns collection
https://api.themoviedb.org/3/search/multi?query=%D0%A5%D0%BE%D0%BB%D0%BE%D0%BF&include_adult=false&language=en-US&page=1
Shahood Ul Hassan 的回复
于 2025 年 05 月 21 日 8:29上午
Also these:
https://api.themoviedb.org/3/search/multi?api_key=[MY_API_KEY]&query=mirage&include_adult=false&language=en-US&page=3
https://api.themoviedb.org/3/search/multi?api_key=[MY_API_KEY]&query=miracle%20in%20cell&include_adult=false&language=en-US&page=1