Support for show,season,episode video API to use external ids similar to how the movie videos api works.
External IDs being IMDb, TVDb and TVRage etc.
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 6 de abril de 2014 a las 10:19
Hi Damien,
I'm not clear what you're asking for. Can you elaborate? I'm having trouble imaging how external ids and videos would ever cross...
Contestado por Damien Haynes
el 6 de abril de 2014 a las 17:16
Come to think of it only IMDb ID would make sense here as there would be overlap with your TMDb IDs because the other external IDs are integer based.
To elaborate what I mean and why I'm asking:
I'm developing a MediaPortal plugin that adds support for Trailers (an extension to other media plugins), currently this works great for TMDb movie trailers, now im extended it to support Show, Season and Episode trailers. The local databases for users currently don't hold any info for TMDb IDs on Shows so using the videos API directly is currently impossible without first doing a search for the show to retrieve the TMDb id.
The current videos API for shows (haven't tested season or episodes yet) only allows TMDb IDs like so: http://api.themoviedb.org/3/tv/1399/videos?api_key=e636af47bb9604b7fe591847a98ca408
If I try to access it via IMDb ID it wont work: http://api.themoviedb.org/3/tv/tt0944947/videos?api_key=e636af47bb9604b7fe591847a98ca408 {"status_code":6,"status_message":"Invalid id: The pre-requisite id is invalid or not found."}
When using the Movie /trailers API (I haven't tested /videos), I can use the IMDb ID so it would be great if you could extend this. If you also support other IDs that would also be great but as I suspect probably not since there would be overlap with your own.
Contestado por Damien Haynes
el 6 de abril de 2014 a las 17:47
I just tested the movie /video API using IMDb but it's not supported, if that could be supported it would be awesome.
Contestado por Travis Bell
el 6 de abril de 2014 a las 17:56
This will never be supported on TV. It was never officially supported on movies either.
In order to find data by external IDs, the officially supported way would be to use the /find method.
Contestado por Damien Haynes
el 6 de abril de 2014 a las 19:32
Thanks, will use the /find method before calling the /video methods when TMDb is not available in users database.