deezer / deezer/android-sample

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

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
42
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.