android-sample
android-sample copied to clipboard
Deezer Android SDK - PLAYBACK_COMPLETED right after starting to play a track
I am currently having the following problem with the Deezer Android SDK (0.11.1):
- I'm calling TrackPlayer#playTrack. The TrackPlayer runs through all the expected states (INITIALIZING -> READY -> WAITING_FOR_DATA -> PLAYING)
- 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.
- 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