I did this
MP3player.playTrack(1);
while(MP3player.isPlaying()) {
MP3player.playTrack(1);
}
But I have a problem to change the track to a new with another selection, as for example:
MP3player.playTrack(buttonSelection);
while(MP3player.isPlaying()) {
MP3player.playTrack(buttonSelection);
}
Which means that I want to have the current track looped, until a new selection is made