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.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on April 6, 2014 at 10:19 AM
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...
Reply by Damien Haynes
on April 6, 2014 at 5:16 PM
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.
Reply by Damien Haynes
on April 6, 2014 at 5:47 PM
I just tested the movie /video API using IMDb but it's not supported, if that could be supported it would be awesome.
Reply by Travis Bell
on April 6, 2014 at 5:56 PM
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.
Reply by Damien Haynes
on April 6, 2014 at 7:32 PM
Thanks, will use the /find method before calling the /video methods when TMDb is not available in users database.