Windows Entertainment and Connected Home

How to organize, access and enjoy all of your media in and around your home

Accessing EPG UI from AddIn

  • rated by 0 users
  • This post has 2 Replies |
  • 1 Follower
Page 1 of 1 (3 items)
  •  
    Is there some way yo enable Guide/EPG information and navigation from within an Add-In?

    In the app I am working on, the user needs to be able to navigate live TV channels while the application still runs and displays extra information on top of the Video.

    I know a background app would allow this since it runs in the background but then I cannot display any UI other than a dialog (I need to potentially overlay web content over the video). A regular add-in can display anything it wants over the video but we seem to loose all VMC functionality other than the basic navigation buttons.

    I guess I could create my own EPG using the provided database information. But this would require me to re-create lots of UI and functionality that already exists in VMC...
  •  

    There is the Microsoft.MediaCenter.TV.Epg namespace although I dont know much about it since there are no samples that I can find, but it is documented.

    As far as I know, there is no way to get the Live TV channel info from addins, except through MSAS (Media State Aggregation Service).

     

    This posting is provided "AS IS" with no warranties, and confers no rights. David Teo SDET Microsoft Corporation
  •  
    I have to say, I am somewhat generally disapointed. Almost nothing that is needed to get this prototype off the ground can be done with a VMC add-in even though most of it is straightforward. I would do my own thing from scratch as it would be less painful, but since the prototype calls for OCUR/CableCard support I am SOL...

    1) Need to display Live TV and overlay special Content over it. Yes you can do as long as the content is MCML. Ok but the MCML needs to come from online. Oh sorry... Can't do that... So I either have to write my own code to get the markup from the web and store it to a local file. Or...

    2) Display HTML on top of video. Can be done by using a livrary which I found to render web pages offline. The real problem is that the only way to display dynamic images inside MCML is to save the image to a file and have the graphic element update it's content. Which works, but can only achieve 3-4 updates per second. I realize the addin is hosted in a seperate process, but why can't it marshal image data between the process which would be orders of magnitude quicker than hitting the disk!

    3) Ok, but since we're doing stuff over live tv, we need to be able to change channels. Sure you can call the PlayMedia API, but you can't access the guide or offer some of the built-in channel navigation features. Although it seems to be possible to pop the guide on top of my experience, selecting a channel just makes it navigate to regular live tv instead of my Add-in. So I guess, i'll have to implement my own Guide UI....

    4) Oh wait, the Guide API don't give you full guide listings, they simply allow you to do searches for specific content so schedulings can be recorded. Oh but there is a way you can tap into raw guide database and do your own queries. Not too bad... But no, since I need to support Cable Cards, I need the TV pack installed, where the Database is now encrypted. So I now have to find an external feed for guide information since I can't use the built-in one.

    If it wasn't for the need to support CableCards/OCUR tuners, I would have written my own application from scratch and would probably have been done by now. Somewhat frustrated since this 3-4 week project will end up taking 2-3 months due to all the existing functionality I have to recreate.
Page 1 of 1 (3 items)