Search code examples
windowswindows-phone-7media-player

windows phone application crashing after changing current playing song


I'm using Mediaplayer.Queue to retrieve information from zune on Windows Phone about currently playing song (artist, song name, etc). Everything is fine, but if I'm changing song from the fast access menu (ie. from clicking the volume-buttons) the app crashes.

What do I need to do to prevent this scenario in the future? Also, when the user changes the track, how do I update the current song info?


Solution

  • To enable music hub debugging on the device, you need to connect with WPConnect.exe instead of Zune. The guide tells you how.

    Once you got debugging running, you should be able to get a full exception and stack-trace. If you post that, we can give you further help, if necessary.