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
Can't find a movie or TV show? Login to create it.
Elementu hau kalifikatu edo zerrenda batera gehitzea nahi al duzu?
Ez zara kidea?
robbie3999 Erabiltzailearen Erantzuna
Iraila 26, 2023 egunean 6:55 PM(e)tan
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 } ] }
Wajeemba Erabiltzailearen Erantzuna
Urtarrila 15, 2024 egunean 7:38 PM(e)tan
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
Travis Bell Erabiltzailearen Erantzuna
Urtarrila 15, 2024 egunean 8:49 PM(e)tan
Hey @Wajeemba,
Notice that the field names are different between movies and TV shows. For TV, you need to use
original_name
andname
.