Make sure you use this in the beginning of the game if you want shuffled music playback from the zune's media library:
Code:
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Storage;
and then add this in the main code just below : Content.RootDirectory = "Content";
Code:
MediaPlayer.IsShuffled = true;
MediaPlayer.IsRepeating = true;
MediaLibrary ml = new MediaLibrary();
SongCollection s = ml.Songs;
MediaPlayer.Play(s);
MediaPlayer.Queue.MoveNext();
MediaPlayer.IsVisualizationEnabled = true;