{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/android-sdk/issues/333","repository_url":"https://api.github.com/repos/spotify/android-sdk","labels_url":"https://api.github.com/repos/spotify/android-sdk/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/spotify/android-sdk/issues/333/comments","events_url":"https://api.github.com/repos/spotify/android-sdk/issues/333/events","html_url":"https://github.com/spotify/android-sdk/issues/333","id":207115510,"number":333,"title":"SpotifyPlayer fails to queue track","user":{"login":"lbran","id":19300547,"avatar_url":"https://avatars.githubusercontent.com/u/19300547?v=3","gravatar_id":"","url":"https://api.github.com/users/lbran","html_url":"https://github.com/lbran","followers_url":"https://api.github.com/users/lbran/followers","following_url":"https://api.github.com/users/lbran/following{/other_user}","gists_url":"https://api.github.com/users/lbran/gists{/gist_id}","starred_url":"https://api.github.com/users/lbran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbran/subscriptions","organizations_url":"https://api.github.com/users/lbran/orgs","repos_url":"https://api.github.com/users/lbran/repos","events_url":"https://api.github.com/users/lbran/events{/privacy}","received_events_url":"https://api.github.com/users/lbran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-13T03:44:16Z","updated_at":"2017-02-21T09:11:17Z","closed_at":null,"body":"## Description\r\nI upgraded the Spotify library from spotify-player:1.0.0-beta13 to spotify-player-24-noconnect-2.20b. When calling SpotifyPlayer's queue() method no track is played nor queued. The operation callback states adding the track to the queue was successful, and the following playback events are generated: `kSpPlaybackNotifyAudioDeliveryDone` and `kSpPlaybackNotifyPause` in that order.\r\nI tried playing the same URI's using the Player's playUri() method and this worked fine.\r\n\r\n### Versions\r\nAndroid SDK version: 25\r\nAndroid OS version: 7.1.1\r\nSpotify Player version: spotify-player-24-noconnect-2.20b\r\n\r\n### Severity\r\nCatastrophic\r\n\r\n## Steps to Reproduce\r\n1. Successfully initialise and login to Spotify\r\n2. Add a track to the queue (e.g. `mPlayer.queue(mOperationCallback, uri);`)\r\n\r\n### Actual behaviour\r\nNo track is played/queued. Receive both `kSpPlaybackNotifyAudioDeliveryDone` and `kSpPlaybackNotifyPause` events. I did notice in the logs a `E/SpotifySDKNative: Unknown connection error of type '5' received`, however after reading about this [here](https://github.com/spotify/android-auth/issues/9) I don't think this is related.\r\n\r\n### Expected behaviour\r\nThe player plays the first queued track and queues up the rest of the tracks that are later requested.\r\n\r\n## Logs\r\n> D/com.spotify.sdk.android.authentication.LoginActivity: Response: token\r\nD/SpotifyAuthHandler: stop\r\nD/MainActivity: AuthToken: omitted\r\nW/linker: /data/app/namespace.here/lib/arm64/libspotify_embedded_shared.so: unused DT entry: type 0xf arg 0x6b3\r\nV/FA: Activity resumed, time: 607069160\r\nD/MainActivity: Network state changed: Mobile\r\nD/MainActivity: Operating callback was successful!\r\nD/MainActivity: Operating callback was successful!\r\nV/FA: Inactivity, disconnecting from AppMeasurementService\r\nE/SpotifySDKNative: Unknown connection error of type '5' received\r\nD/MainActivity: User logged in\r\nD/MessagingService: From: 936631359442\r\nD/Retrofit: ---> HTTP GET https://api.spotify.com/v1/search?type=track&q=adele+hello&limit=1&offset=0\r\nD/NetworkSecurityConfig: No Network Security Config specified, using platform default\r\nD/Retrofit: <--- HTTP 200 https://api.spotify.com/v1/search?type=track&q=adele+hello&limit=1&offset=0 (1416ms)\r\nD/MainActivity: Operating callback was successful!\r\nD/MainActivity: kSpPlaybackNotifyAudioDeliveryDone\r\nD/MainActivity: kSpPlaybackNotifyPause\r\n"},"comment":{"url":"https://api.github.com/repos/spotify/android-sdk/issues/comments/281285769","html_url":"https://github.com/spotify/android-sdk/issues/333#issuecomment-281285769","issue_url":"https://api.github.com/repos/spotify/android-sdk/issues/333","id":281285769,"user":{"login":"lbran","id":19300547,"avatar_url":"https://avatars.githubusercontent.com/u/19300547?v=3","gravatar_id":"","url":"https://api.github.com/users/lbran","html_url":"https://github.com/lbran","followers_url":"https://api.github.com/users/lbran/followers","following_url":"https://api.github.com/users/lbran/following{/other_user}","gists_url":"https://api.github.com/users/lbran/gists{/gist_id}","starred_url":"https://api.github.com/users/lbran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbran/subscriptions","organizations_url":"https://api.github.com/users/lbran/orgs","repos_url":"https://api.github.com/users/lbran/repos","events_url":"https://api.github.com/users/lbran/events{/privacy}","received_events_url":"https://api.github.com/users/lbran/received_events","type":"User","site_admin":false},"created_at":"2017-02-21T09:11:17Z","updated_at":"2017-02-21T09:11:17Z","body":"@banomaster I had to revert back to an older version (stated above). Doubtful it works without a fix being released. Can anyone confirm if `queue` works for them?"}}
{"actor":{"display_login":"lbran"}}