im using this rn but it just sets it to the last song and then plays that, what do i do so it does what i need
Don't use a for each loop for this.
Instead, use the Player1 Event that fires after end of song, to remove item 1 from your play list, check if the length of list >= 1, then start the new item 1 playing else quit.
Sample app using text to speech in a similar way ...
see the jukebox example how to do it
https://puravidaapps.com/file.php
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
@vknow360 for your extension filetools, is there a way to get the contentURI of the copied file? as in URI to the file in the destination