I'd like to query the Windows 7 Media Center Program Guide from a C# app. e.g. to answer questions like "What time is The Inbetweeners next showing on Channel 4?".
I've looked through the Media Center SDK (v6 and v5) but this suggests it is only possible to use the Microsoft.MediaCenter.TV.Scheduling classes to request recordings ("Click-to-record"). I can't find a way to just query and get back a list of show times without asking Media Center to record something.
A bit of web searching suggests I could open the SQLite db that Media Center uses behind the scenes (ProgramData\Microsoft\eHome\EPG\epg.sdf) and query that. I could do this, but it feels a bit flakey to access Media Center's data directly.
So, am I missing something in the .Net API? Is there a way to query the schedule without going behind Media Center's back?