spotify / android-sdk

Spotify SDK for Android
https://developer.spotify.com/documentation/android/
Apache License 2.0
454 stars 117 forks source link

Playing unplayable track (no rights in country) not handled (no error thrown) #292

Open tobika opened 3 years ago

tobika commented 3 years ago

Issue found on 08/03/2021 (well before actually)

SDK Version: 0.7.1

OS Version: Android 9

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. Play a unplayable song (no rights in my counrtry) with skipToIndex()

Expected behaviour:

Error is returned

Actual behaviour:

Success Callback returns. Absolutely nothing happens

I am playing a track that is grayed out in the official App. The play command doesn't throw an error. Most methods throw a time out when called (like getPlayerState())