Whilst I can play an individual mp3 file with the following code
I want to be able to make my way through a .m3u playlist the format, snippet taken from a look in Notepad, looks like this, could someone please give me an idea how to do this, as I keep trying and getting nowhere
Thanks in advance
B4X:
Private Sub btnMusic_Action
Log("Music btn")
Dim mp As MediaPlayer
mp.Initialize("mp", File.GetUri("C:\Music\Background", "OneRepublic - Counting Stars.mp3"))
mp.Play
Wait For (mp) mp_Complete
End Sub
I want to be able to make my way through a .m3u playlist the format, snippet taken from a look in Notepad, looks like this, could someone please give me an idea how to do this, as I keep trying and getting nowhere
Thanks in advance
B4X:
#EXTM3U
#EXTINF:0,12. Pink - Just Like Fire.mp3
Background\12. Pink - Just Like Fire.mp3
#EXTINF:0,OneRepublic - Counting Stars.mp3
Background\OneRepublic - Counting Stars.mp3
#EXTINF:0,James Morrison - Broken Strings (feat. Nelly Furtado).mp3
Background\James Morrison - Broken Strings (feat. Nelly Furtado).mp3
#EXTINF:0,Ed Sheeran - Photograph.mp3
Background\Ed Sheeran - Photograph.mp3
#EXTINF:0,Take That - Give You My Love.mp3
Background\Take That - Give You My Love.mp3
#EXTINF:0,04 Chicago - Hard Habit To Break.mp3
Background\04 Chicago - Hard Habit To Break.mp3
#EXTINF:0,11. Glassheart.mp3
Background\11. Glassheart.mp3
#EXTINF:0,09-travis-flowers_in_the_window-fnt.mp3
Background\09-travis-flowers_in_the_window-fnt.mp3
#EXTINF:0,26 All I Want.mp3
Background\26 All I Want.mp3
#EXTINF:0,Jess Glynne - Take Me Home.mp3
Background\Jess Glynne - Take Me Home.mp3
#EXTINF:0,The Weeknd - Can't Feel My Face.mp3
Background\The Weeknd - Can't Feel My Face.mp3
#EXTINF:0,08-Sunday Morning.mp3
Background\08-Sunday Morning.mp3
#EXTINF:0,Grace - You Don't Own Me.mp3
Background\Grace - You Don't Own Me.mp3