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
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 17 avril 2024 à 17h40
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.
Réponse de caseyliss
le 17 avril 2024 à 17h43
Thanks, @travisbell! Glad to know I'm not nuts… for this reason anyway.
Réponse de MovieCast
le 6 novembre 2024 à 20h29
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
Réponse de Shahood Ul Hassan
le 21 mai 2025 à 08h29
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