deezer / deezer/android-sample

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

オープン
#8 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
42
フォーク
25
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、Deezer Android SDK 0.11.1でissueに記載されたシーケンスを再現します。TrackPlayer#playTrackを呼び出し、PLAYBACK_COMPLETEDを待ってから、別のURIを開始し、onPlayerStateChangeを観察します。報告された状態遷移を、リンク先のStack Overflowのディスカッションと比較します。2曲目で誤ったPLAYBACK_COMPLETEDイベントが発生しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, java
領域
mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。