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

Keep device active #15

Open
MartijnVogelaar opened this issue Dec 11, 2020 · 1 comment
Open

Keep device active #15

MartijnVogelaar opened this issue Dec 11, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@MartijnVogelaar
Copy link
Owner

After a certain amount of time a paused device gets inactive and can thus no longer be controller. A solution should be found to fix this. This can either be by re-activating the device via the spotify-api(if possible?!?). Or by keeping it active by for example increasing and decreasing the volume every minute with 1 percent.

@MartijnVogelaar MartijnVogelaar added the enhancement New feature or request label Dec 11, 2020
@RobLuzmo
Copy link

The active device is selected by default when no id is provided but by providing an id one can activate a device.
See spotipy-dev/spotipy#685 (comment)
So if the list of available devices is just 1 device, that id can be used, otherwise the last known id can be stored and used in case there's no active device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants