It's not complete but should be good for observations on how to do something with the FMODEX library, there are admittedly some strange bugs with playlists most notably the delete items, where by you select a number of items, and tell it to delete them and it actually doesn't delete them all but a few of them.
Code: Select all
;
; Playlist delete item(s)
;
Procedure Playlist_Delete()
For i=0 To ListSize(playlist())
If GetGadgetItemState(#GAD_PLAYLIST,i)=1
SelectElement(playlist(),i)
DeleteElement(playlist())
Debug playlist()\file
RemoveGadgetItem(#GAD_PLAYLIST,i)
EndIf
Next
EndProcedureYou add playlists by typing there name into the combo drop down box, and then clicking the Add Folder button, to save it press the [S] button, the [L] button loads what you was playing previously before quit last.
To sort click on the combobox at the bottom to track (because it's the only one implemented right now), highlight a section you want sorted, and click [sort].
Volume will stay where you put it regardless of quit and reload.
Some procedure calls are commented out because they break.
