Is there API.Net for requesting guidance on the Windows 7 Media Center program?

I would like to request a Media Center for Windows 7 program guide from a C # application. for example, to answer questions such as "What time is the Inbetweeners next Channel 4 show?"

I looked at the Media Center SDK (v6 and v5), but this suggests that you can use the Microsoft.MediaCenter.TV.Scheduling classes to request records ("Click-to-record"). I cannot find a way to simply request and return a list of readings without asking Media Center to record something.

A bit of web searching invites me to open SQLite db, which Media Center uses behind the scenes (ProgramData \ Microsoft \ eHome \ EPG \ epg.sdf) and requests it. I could have done it, but it seems to me a bit sensitive to access Media Center data.

So, am I missing something in API.Net? Is there a way to request a schedule without going back to Media Center?

+3
source share
1 answer

the TVSchedule class seems to be the closest documented (albeit obsolete) way to do this. The Lineup class only works for channel searches.

, SqlLite ( http://discuss.mediacentersandbox.com/forums/thread/559.aspx), API , .;-) , , ( Win 8).

, http://mobilewares.spaces.live.com/blog/cns!78533A1A2E078194!4535.entry, Niall Gainsbourg, , SDK EPG. , .

, Niall, , , EPG ... , , EPG, , , .: -)

+3

Source: https://habr.com/ru/post/1718125/


All Articles