Deciding how you are going to build your query and what to filter your query on can be tricky. One popular filer is by media type. Media types are assigned to each Entertainment Program in our database. Every media type has a media id associated to it and it can be used in your data queries to limit or exclude based on Movies, Music, Games, ect. Below is the list of media ID's and the media types along with the query to get the list from the IVA OData API.
Query to get media ID to media type map:
/* LINQ: From e in MediaTypes where e.MediaID >= 0 select e /* URL: http://api.internetvideoarchive.com/1.0/DataService/MediaTypes()?$filter=MediaId ge 0&developerid={yourid} |
| MediaId | Media |
| 0 | Movie |
| 1 | Game |
| 3 | Song |
| 5 | Movie Interview |
| 6 | Movie Behind the Scenes |
| 8 | Commercial |
| 10 | Movie SceneOrSample |
| 12 | Song Interview |
| 14 | Song SceneOrSample |
| 15 | Song Behind the Scenes |
| 19 | News (Depreciated) |
| 20 | Movie Alternate Version |
| 21 | Games SceneOrSample |
| 23 | Game Alternate Version |
| 24 | TV Series |
| 25 | TV Show |
| 26 | TV Season |
| 27 | TV Episode |
| 28 | Other |
| 29 | TV Interview |
| 30 | TV Behind the Scenes |
| 31 | TV SceneOrSample |
| 32 | TV Alternate Version |
| 33 | Song Alternate Version |