{"action":"opened","issue":{"url":"https://api.github.com/repos/spotify/android-sdk/issues/306","repository_url":"https://api.github.com/repos/spotify/android-sdk","labels_url":"https://api.github.com/repos/spotify/android-sdk/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/spotify/android-sdk/issues/306/comments","events_url":"https://api.github.com/repos/spotify/android-sdk/issues/306/events","html_url":"https://github.com/spotify/android-sdk/issues/306","id":191415358,"number":306,"title":"Stale playback position after seeking player and resuming playback","user":{"login":"ryandt","id":4073952,"avatar_url":"https://avatars.githubusercontent.com/u/4073952?v=3","gravatar_id":"","url":"https://api.github.com/users/ryandt","html_url":"https://github.com/ryandt","followers_url":"https://api.github.com/users/ryandt/followers","following_url":"https://api.github.com/users/ryandt/following{/other_user}","gists_url":"https://api.github.com/users/ryandt/gists{/gist_id}","starred_url":"https://api.github.com/users/ryandt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryandt/subscriptions","organizations_url":"https://api.github.com/users/ryandt/orgs","repos_url":"https://api.github.com/users/ryandt/repos","events_url":"https://api.github.com/users/ryandt/events{/privacy}","received_events_url":"https://api.github.com/users/ryandt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-24T01:37:32Z","updated_at":"2016-11-24T01:37:32Z","closed_at":null,"body":"## Description\r\nWhen seeking the player while playback is paused and subsequently retrieving the playback position immediately after resuming playback, the retrieved playback position does not match the \"seek to\" position from the seek request.\r\n\r\n### Versions\r\nAndroid SDK version: 25\r\nSpotify app version (if native SSO flow is involved): 23\r\nAndroid OS version: 7.1\r\n\r\n### Severity\r\nNormal\r\n\r\n## Steps to Reproduce\r\n1. Play a song by calling {{spotifyPlayer.playUri(...)}}.\r\n2. Pause the song at any time by calling {{spotifyPlayer.pause(..)}}.\r\n3. Seek to a new position in the song by calling {{spotifyPlayer.seekToPosition(..., newPosition)}} while the player is still in a paused state.\r\n4. Resume playback by calling {{spotifyPlayer.resume(...)}}.\r\n5. Get the current playback position by calling {{spotifyPlayer.getPlaybackState().positionMs}}.\r\n\r\n### Actual behaviour\r\nThe {{PlaybackState}}'s {{positionMs}} retrieved in step 5 is the playback position from when the song was paused in step 2.\r\n\r\n### Expected behaviour\r\nThe {{positionMs}} value is the position that was seeked to, {{newPosition}}, in step 3.\r\n"}}
{"actor":{"display_login":"ryandt"}}