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
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 17 de abril de 2024 a las 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.
Contestado por caseyliss
el 17 de abril de 2024 a las 17:43
Thanks, @travisbell! Glad to know I'm not nuts… for this reason anyway.
Contestado por MovieCast
el 6 de noviembre de 2024 a las 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
Contestado por Shahood Ul Hassan
el 21 de mayo de 2025 a las 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