I am using MediaPlayer with MediaPlaybackList to play mp3 files in my app.
Playlist defined like this:
SongList = new MediaPlaybackList
{
AutoRepeatEnabled = true,
ShuffleEnabled = true
};
SongList is populated with 3 songs.
I play music using this code:
private MediaPlayer mPlayerMusic = new MediaPlayer();
mPlayerMusic.Source = SongList;
mPlayerMusic.Play();
Every time this runs, the same song is played! Shuffle does not seem to work. Auto-repeat does work and the first song is played after the last one, but no shuffle!
What am I doing wrong here?