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

PlayerOptions.isShuffling is always false #337

Open
hufman opened this issue Jan 2, 2023 · 2 comments
Open

PlayerOptions.isShuffling is always false #337

hufman opened this issue Jan 2, 2023 · 2 comments

Comments

@hufman
Copy link

hufman commented Jan 2, 2023

Thanks for your interest in the Spotify App Remote SDK!
If you're submitting a bug, please use the following template.
If your issue is a feature request, please include your use-case so that we have all the necessary info.

Issue found on October 22, 2022 seemingly starting with Spotify 8.7.72.546.

SDK Version:

0.7.2

OS Version:

Multiple, Android 10-13

Scope(s):

App Control PlayerState

Steps to reproduce:

  1. Subscribe to PlayerState and watch the playerState.isShuffling property:
SpotifyAppRemote().playerApi.subscribeToPlayerState().setEventCallback { playerState ->
    println(playerState.playbackOptions.isShuffling)
}
  1. Toggle the Shuffle button within Spotify UI.

Expected behaviour:

When the Shuffle button in Spotify is enabled (green) to represent when Spotify is shuffling tracks, playerState.isShuffling should be true and not false.

Actual behaviour:

With some regional variation, it seems that Spotify ~8.7.72.546 no longer sets playerState.isShuffling:true when the Spotify app has shuffle enabled.

This makes it impossible for a custom Spotify UI to show whether Spotify is shuffling, and it breaks Toggle Shuffle functionality.

@hufman
Copy link
Author

hufman commented Jan 2, 2023

It might be related to this bug in the client. It does appear that the repeatMode always shows 0 too.

@hufman
Copy link
Author

hufman commented Feb 24, 2023

This seems to be fixed as of (at least) Spotify 8.8.12.545

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