Windows Entertainment and Connected Home

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

Events during Music playback into background plug-in written in C#

  • rated by 0 users
  • This post has 1 Reply |
  • 2 Followers
Page 1 of 1 (2 items)
  •  
    I’m writing a background plug-in in C# and want to detect when a new song is started, either because the previous ended or because the use selected another one. I’ve been trying to use MediaCenterEnvironment.MediaExperience.PropertyChanged and the MediaCenterEnvironment.PropertyChanged but I never receive any events during use.  I have read in other posts that MSAS is the way to catch events, but that seems a bit complicated and “old fassion”.  Any suggestions and code samples to detect event regarding the music playback are very welcome. Thanks!
  •  

    Have you figured this out?  I myself am trying to use MediaCenterEnvironment.PropertyChanged  and then MediaCenterEnvironment.MediaExperience.PropertyChanged  but I never receive any events from MediaCenterEnvironment.PropertyChanged.   I'd rather not use MSAS either...  What am i doing wrong?

Page 1 of 1 (2 items)