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
Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.
Vēlies novērtēt šo vienumu vai pievienot to sarakstam?
Neesi dalībnieks?
Atbilde no robbie3999
on septembris 26, 2023 at 6:55 PM
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 } ] }
Atbilde no Wajeemba
on janvāris 15, 2024 at 7:38 PM
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
Atbilde no Travis Bell
on janvāris 15, 2024 at 8:49 PM
Hey @Wajeemba,
Notice that the field names are different between movies and TV shows. For TV, you need to use
original_name
andname
.