(1) ExoPlayer is no longer looping gapless. (2) App crashes at ExoPlayer.Completed event

Looping issue

  • The ExoPlayer does not seamlessly play sounds / music anymore, there is a big gap between each loop. That worked perfectly before (before Eagle).
    I’m not completely sure since when (Eagle 1.4.x) this problem arises.

ExoPlayer.Completed - crash

  • In addition, the ExoPlayer.Completed event does not work, so if the player restarts, the app crashes.

The ExoPlayer was the main reason why I switched from AI2 to Kodular, because there is no alternative to the ExpPlayer (because of its ability to loop without gaps). Unfortunately, the looping does not work with the TaifunPlayer for several months on some China devices.

To check this:
exoplayer_Bug.aia (439.3 KB)
exoplayer_Bug.apk (5.8 MB)


ExoPlayer.Completed event will not be executed (the player will not stop and restart, app crashes) unless the ExoPlayer.Source is reassigned:



If in the end there is no solution for both (gapless looping & ExoPlayer.Completed), in my opinion the ability for seamless looping would be much more important, because there is a simple work-around for the ExoPlayer.Completed event.

Here is a very good overview of the ExoPlayer and Player States: