Reputation: 191
How can you create a media player playlist in code in Windows Phone 8? I have done some research but I couldn't find a way, yet. Is that even possible?
Upvotes: 0
Views: 158
Reputation: 76
There is no built-in feature for manipulating Playlist in Windows Phone 8. However, You can create a list of songs you want to play:
Collection<string> songs = new Collection<string>();
songs.Add("http://freedownloads.last.fm/download/86983340/Petrolero.mp3");
Then you have to control your "playlist" manually:
foreach(var song in songs)
MediaPlayer.Play(Song.FromUri("Song name", new Uri(song)));
Upvotes: 1
Reputation: 7122
No, it is not possible to create playlists on Windows Phone. You can vote for it on user voice.
Upvotes: 0