you said you made a mediaplayer with loop working correctly
could you post the "core" code for playing?
I did say that. And, after reviewing my code, I realize I inadvertently misled you. My apologies. It has been awhile since I've written the program.
In fact, what I did was to handle the repeat mechanism myself in code. I remember now I did that because it was simpler for me to differentiate between "repeat song" and "repeat list". Perhaps you could try coding your own repeat mechanism to see if it helps.
The following is in a service module. I'm not sure how much of this will make sense with it being "taken out of context", so to speak, so I will try to clarify some things.
1) Subs/Global Variables: "RepeatMode" is a variable that gets set whenever the Repeat button is pressed. It cycles through REPEAT_NONE, REPEAT_SONG, REPEAT_LIST. "PlaySong" is a separate sub which does the actual loading/playing of the mp3 file and setting the notification status. "SongIndex" is the list index of the current song. "Status" is a notification to show the Artist/Title of the song currently playing. "tUpdate" is a timer used to update the current position/duration of the song while playing.
2) Even if I haven't loaded a playlist, the player actually sees a playlist at all times, meaning whatever songs I have manually queued to be played are in list format to the player - even if it's a list containing only one song.
Sub Player_Complete
If RepeatMode = REPEAT_SONG Then
PlaySong
Else If PlayList.Size > (SongIndex + 1) Then
SongIndex = SongIndex + 1
PlaySong
Else If RepeatMode = REPEAT_LIST Then
SongIndex = 0
PlaySong
Else
Status.Cancel(1)
Main.tUpdate.Enabled = False
If IsPaused(Main) Then
Main.ShowDisplay = False
Else
CallSub2(Main, "SongDisplayVisible", False)
End If
End If
End Sub
HTH