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

PlayState bug - PlayState.Stopped never triggered using MediaCollections...

Last post 10-27-2009, 3:39 PM by emigrating. 0 replies.
Sort Posts: Previous Next
  •  10-27-2009, 3:39 PM 9416

    PlayState bug - PlayState.Stopped never triggered using MediaCollections...

    Anyone else come across this?

    PlayMedia(MediaType.Video, VideoFile.FullName, false) will work fine and when the video finishes playing (or the user presses the Stop button) PlayState.Stopped is set.

    If, however, I setup a MediaCollection, fill it with MediaCollectionItems and do a PlayMedia(MediaType.MediaCollection, MediaCollectionObject, false) - PlayState.Stopped is never set and hence my eventhandler never executed.

    Any workarounds for this and if so, what would they be?


View as RSS news feed in XML
Powered by Community Server, by Telligent Systems