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
17 квітня 2024, 17: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
17 квітня 2024, 17:43
Thanks, @travisbell! Glad to know I'm not nuts… for this reason anyway.
Відповідь від MovieCast
6 листопада 2024, 20: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
21 травня 2025, 08: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