Open multiple song files from app
I am writing a simple media server application. I'd like the user to be able to build a playlist of songs within my application and then be able to hit "open", which would then open the default media player (the Windows 8 Music App in my case). Currently, I am using Process.Start() to open the app, but that will only open a single song. Does anyone know how to pass a list of songs to the media player (as arguments?) that will act as a play queue? Thanks for the help.
You can't create or modify a SongCollection with the current SDK.
but you can save the songs path in an array and use timer to start next song after last finished
You can use TagLib Sharp to calculate duration time of each song
It exposes TagLib.AudioProperties.Duration