-
Notifications
You must be signed in to change notification settings - Fork 120
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
Offline Playing: What is possible? #2
Comments
I hope this limitation is about the initial authorization part and an app can control the playback using an access/refresh token even when the device is offline. Otherwise I'll still have to use hacky notification listener mediasession work around >.>° But this SDK finally gives a way to start playback without hacky intents so I'd rather prefer being abld to use this SDK. |
If that is true: that would be really cool. |
@maracuja-juice I'll have a look at this SDK when I've actually got time >.< |
@seahorsepip Cool, no problem. I want to do that too. |
Hey there! Great question. The device needs an internet connection to be able to authenticate the app and its permissions (like remote-controlling Spotify). For alarms, you should use a fallback tone in case the app is not able to connect/authenticate to Spotify. Hope that clarifies things! I'll see if we can make the documentation a little more clear on that. |
@arirawr So the connection to Spotify only has to be established ONCE or is there also the normal 60 minutes timeout and after the 60 minutes the connection has to be established again? |
Hey again @maracuja-juice - you should only keep the connection open when you need it, and disconnect accordingly. Keeping it open when it's not needed by the user/app is bad practice as it will prevent the Spotify app from going idle when it's inactive. Check out this guide for more info. |
Okay, thanks. So in short there always needs to be an internet connection on the startup of the app. (or alarm) |
…-and-ui-makover Version 0 6 0 podcast support and ui makover
Hi i get the same type of error but when i have no internet connection at all, regards |
In the readme you write:
What does that mean?
I am thinking about making a Spotify alarm clock that must work offline. What would that mean for the apps possible offline capabilities?
The text was updated successfully, but these errors were encountered: