The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

PlayMedia method

Last post 03-03-2010, 11:30 AM by Charlie. 1 replies.
Sort Posts: Previous Next
  •  03-03-2010, 8:06 AM 9589

    PlayMedia method

    My plugin is calling PlayMedia method to display a streaming video from the internet. Unfortunately, the video stream does not contain any meta information, like Name, Synopsis, etc.  I would like to somehow hook into the media center and override the meta information that the streaming server is sending (as it is meaningless).  I would also like to be able to start the streaming video from a certain time, not only from beginning.

    Is this possible?  I've looked at the PlayMedia method and am not seeing anything there that would help me. 
    I've tried creating a MediaCollection and populating it with a single MediaCollectionItem and than passing it to PlayMedia, but than the video does not play at all.

    Any advice?

    Thanks,
    Igor
  •  03-03-2010, 11:30 AM 9590 in reply to 9589

    Re: PlayMedia method

    If the video plays with PlayMedia directly it should also work with MediaCollection.
    Charlie Owen (Microsoft)
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems