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
Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.
Deseja classificar ou adicionar este item a uma lista?
Ainda não é um membro?
Resposta de Travis Bell
em 17 abril 2024 às 5:40 PM
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.
Resposta de caseyliss
em 17 abril 2024 às 5:43 PM
Thanks, @travisbell! Glad to know I'm not nuts… for this reason anyway.
Resposta de MovieCast
em 6 novembro 2024 às 8:29 PM
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
Resposta de Shahood Ul Hassan
em 21 maio 2025 às 8:29 AM
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