Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to start playback via skipToIndex if offset is bigger than track 150 on downloaded album #351

Open
tobika opened this issue Nov 21, 2023 · 0 comments

Comments

@tobika
Copy link

tobika commented Nov 21, 2023

Issue found on 04/11/2023.

SDK Version: 0.8.0

OS Version: android 9 - 13

Scope(s): ['streaming', 'user-read-birthdate', 'user-read-email', 'user-read-private', 'app-remote-control', 'user-read-playback-state', 'user-modify-playback-state']

Steps to reproduce:

  1. Use skipToIndex on a big album with an offset >= 150 and the album available offline in the spotify app

Expected behaviour:

Playback

Actual behaviour:

No playback

Hello I'd like to report this very particular bug in the spotify android sdk.

My App plays audiobook that often have more than 150 tracks in one album. Since a few days/weeks? If I start an album via skipToIndex with an offset equal or bigger than 150 nothing happens, but "only" if the album has been made available offline.
Once you delete de offline files in Spotify the playback works as expected.

In the logs nothing happens. I only get an empty playerstate:

PlayerState{track=null, isPaused=false, playbackSpeed=0.0, playbackPosition=0, playbackOptions=PlayerOptions{isShuffling=false, repeatMode=0}, playbackRestrictions=PlayerRestrictions{canSkipNext=false, canSkipPrev=false, canRepeatTrack=true, canRepeatContext=true, canToggleShuffle=true}}

I'm using the following album for testing:
spotify:album:3LDLq0RSKzAywbv3DOcSzn at offset 150

I have an App in the play store with enought users that I already got a lot of emails signaling this bug to the app: https://play.google.com/store/apps/details?id=com.tobik.audiobookspotify

Would be great if there could be a fix. For the moment I recommend not making the album available offline as a workaround.

@tobika tobika changed the title Impossible to start playback via skipToIndex if offset is bigger than track 151 on downloaded album Impossible to start playback via skipToIndex if offset is bigger than track 150 on downloaded album Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant