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

fix(spotify): fix unset volatile callback #287

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

phts
Copy link
Contributor

@phts phts commented Jan 8, 2024

Very suspicious line and most likely seems like a typo. Theoretically should be a reference to a function, instead of instantly calling it.

Probably this is the reason of some "connect" issues described in https://community.volumio.com/t/new-2023-spotify-plugin/63381

Not tested yet.


UPD

Exactly fixed problem with switching volatile mode by adding flag to ignore all events from spotify during switching from volatile mode to local mode. Spotify sends several "pause" events so it used to switch back to volatile mode.

Also added some refactoring related to this functionality.

Check my commits - they describe what changes they contain.

@volumio
Copy link
Owner

volumio commented Jan 8, 2024

You're right, thanks for spotting it. Will require some testing which I'll do this week

@phts phts force-pushed the spotify-fix-unset-volatile branch from 99909d6 to 26f667f Compare January 8, 2024 20:47
@phts
Copy link
Contributor Author

phts commented Jan 9, 2024

Added .bind()

@phts phts force-pushed the spotify-fix-unset-volatile branch 2 times, most recently from 44d8290 to df77e58 Compare January 11, 2024 20:08
@phts phts force-pushed the spotify-fix-unset-volatile branch from df77e58 to d50e0a4 Compare January 15, 2024 15:23
@pachulo
Copy link

pachulo commented Feb 24, 2024

Any ETA on this @volumio ?

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants