Hello,
I'm looking for a way to get mixed lists via the v4 API but I can't find any documentation for it?
This page mentions "You can use mixed type (movie and TV) lists" but when visiting the docs I can't see it mentioned.
https://developer.themoviedb.org/v4/reference/list-details
Thanks, Jason
No trobeu una pel·lícula o una sèrie? Inicieu la sessió per a crear-la.
Desitgeu valorar o afegir aquest element a una llista?
No en sou membre?
Resposta per robbie3999
el 26 n de 2023 a les 6:55 P.M.
Hi @jasonalvis, I'm not exactly sure what you want to know, but in order to use the v4 mixed lists you specify a media type with each list element. For example to add or remove items you would specify the following in the body of the request.
{ "items": [ { "media_type": "movie", "media_id": 550 }, { "media_type": "movie", "media_id": 244786 }, { "media_type": "tv", "media_id": 1396 } ] }
Resposta per Wajeemba
el 15 n de 2024 a les 7:38 P.M.
I'm on this same wavelength. When I retrieve the List Details from a mixed-type list, the records for TV shows return with empty titles:
I'd love to be able to pull movie and tv titles directly within the same list details call, as opposed to having to go back later and add in all the details for tv entries.
API pages for reference/continuity of this thread.
https://developer.themoviedb.org/reference/v3-or-v4-lists
https://developer.themoviedb.org/v4/reference/list-details
Resposta per Travis Bell
el 15 n de 2024 a les 8:49 P.M.
Hey @Wajeemba,
Notice that the field names are different between movies and TV shows. For TV, you need to use
original_name
andname
.