How do I programmitically search the EPG data?
Posted: Tue Apr 19, 2016 5:14 am
I started a thread on MSDN, but wasn't getting a response. So I thought I'd ask here.
I'd like to write a program to search the listings WMC has downloaded for my cable system so I can have it specify which programs to record. I found a class that describes the lineup (Microsoft.MediaCenter.TV.Epg.Lineup) but it doesn't list what's airing when. I also found a namespace (Microsoft.MediaCenter.TV.Scheduling Namespace) that lists what is scheduled to record, but that doesn't list what is about to be aired, but isn't yet scheduled for being recorded. Then I found the MXF file format, but the data appears to be spread over several MXF files. There's a LoadMXF executable, but that appears to only import the MXF into the data store, where ever that is.
So the documentation I found just dances around what I want. So here's the acid test: I want to record all NEW Major League Baseball games involving the Cardinals. The problem is the channel changes a lot. Most of the time, it's on FSN Midwest. But sometimes Fox, FS1, or ESPN pick the Cardinals game up. In those cases, it won't be on FSN Midwest. To make things harder, the Cubs play the Cardinals for something like 5% of the games. In those cases, the game might be on both WGN and FSN Midwest (or Comcast SportsNet and FSN Midwest). In those cases, I'd rather watch the FSN Midwest broadcast and ignore the WGN/CSN broadcast unless there is no FSN option.
So now you see the problem. I have no idea what forum to ask in. It doesn't help MS doesn't seem to believe that anyone should discuss WMC anymore. But the open source PVR programs can't play DRM content.