Atajos de teclado
Búsqueda avanzada
I tried using https://api.themoviedb.org/3/search/multi?query=${query}&include_adult=true&include_video=false&include_media_type=true¬_include_media_type=person&page=1&api_key=${API_KEY}
but it doesn't work.
Hi @omkumar1872,
Unfortunately, it is not possible to exclude media types from multi search.
If you are wanting to skip people results, you can inspect the media_type field of each result and skip whatever types you don't want to display.
media_type
But the problem with that - For some page the number of results will be inconsistent like for page 1 there would be 15 results for another page it maybe 12 for some it maybe also 2 or 0 results.
So do you have any idea to deal with this?
Best I can suggest is to make additional page requests if you want to show more data when you detect counts under a certain threshold.
¿No encuentras una película o serie? Inicia sesión para crearla:
Iniciar sesión
Regístrate
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Regístrate y únete a la comunidad
Contestado por Travis Bell
el 17 de noviembre de 2023 a las 12:49
Hi @omkumar1872,
Unfortunately, it is not possible to exclude media types from multi search.
If you are wanting to skip people results, you can inspect the
media_type
field of each result and skip whatever types you don't want to display.Contestado por omkumar1872
el 18 de noviembre de 2023 a las 01:29
But the problem with that - For some page the number of results will be inconsistent like for page 1 there would be 15 results for another page it maybe 12 for some it maybe also 2 or 0 results.
So do you have any idea to deal with this?
Contestado por Travis Bell
el 20 de noviembre de 2023 a las 11:04
Best I can suggest is to make additional page requests if you want to show more data when you detect counts under a certain threshold.