android-sample icon indicating copy to clipboard operation
android-sample copied to clipboard

Deezer Android SDK - PLAYBACK_COMPLETED right after starting to play a track

Open mrmaffen opened this issue 7 years ago • 0 comments

I am currently having the following problem with the Deezer Android SDK (0.11.1):

  1. I'm calling TrackPlayer#playTrack. The TrackPlayer runs through all the expected states (INITIALIZING -> READY -> WAITING_FOR_DATA -> PLAYING)
  2. When the track ends the PLAYBACK_COMPLETED state is correctly being reported. I respond by calling TrackPlayer#playTrack with a new URI which again is being followed by all expected PlayerStates.
  3. But after approximately 2 seconds onPlayerStateChange is being called again and reports a transition to the PLAYBACK_COMPLETED state even though the track just started playing.

http://stackoverflow.com/questions/42281221/deezer-android-sdk-playback-completed-right-after-starting-to-play-a-track

mrmaffen avatar Mar 01 '17 15:03 mrmaffen