title: Permission to play music using MediaPlayer class
body: <p>I would like to let user play his own music library in my game via bult in player. And since im using MediaPlayer class i need to get permision for that to pass the certification. What is the right way to use <code>MediaPlayer.GameHasControl</code> property? When i start playing song from  <code>MediaLibrary</code> from my built in game player, <code>MediaPlayer.GameHasControl</code> becomes false. So i should make sure only once on load that game has control and they can play\pause any song from <code>MediaLibrary</code>? Or in some other specific way?</p>
  
  <pre><code>    public void GetMediaPlayerControl()
      {
      bool canPlay;
       if (!MediaPlayer.GameHasControl)
       {
           //show window with confirmation that change canPlay to true\false
       }
       if (canPlay)
          {
              MediaPlayer.Play();
          }
      }
  </code></pre>
  
  <p>Is it valid solution to pass certification?</p>