Could someone please point me to an explanation of using playlists with the mediaplayer? I've been searching for days and cannot find anything useful in the documentation.
I want to parse through a playlist (.m3u file) in order to create a shuffle from it. It seems like a common enough thing but I can't find it.
I figured I would reply here since I figured it out and since when googling my problem, my own question here was a top result lol.
I still do not know how to use the MediaStore.Audio.Playlists() provider, but you don't really need it. Just open the .m3u file as any other file, then use Java to sort through it and skip any lines that start with # (comments). Store each line in an ArrayList and you've got your playlist loaded into memory.