-
Notifications
You must be signed in to change notification settings - Fork 645
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
PlayerEvent::ShuffleChanged
and PlayerEvent::RepeatChanged
not sent
#1435
Comments
Huh, good find. Seems like that part was overlooked. Just to clarify the behavior, it only doesn't notify when we (librespot) are in control, right? The other errors: The
|
Thanks for the reply! I was looking through the code a bit and I think, the updates are only ever sent on activation of the session? So it wouldn't matter whether we cause or another client causes the update. |
Yeah seems like it. The previous calls where probably removed during the dealer rework and because they do not influence the overall connect handling it did run under the radar. |
Makes sense. I could probably get around to creating a PR re-adding them by the end of next week or something, but if you or someone else is motivated, I would not mind either. |
Sounds good. You can check here (https://github.com/librespot-org/librespot/network) if anyone created a branch that sounds like the fix (I probably won't till some time passed). |
Description
When pressing the shuffle or repeat button, the state is properly updated but not propagated through the
PlayerEvent
channel.Version
dev
7003e98How to reproduce
librespot --onevent env
Log
This is not a debug log, but I changed shuffle and repeat several times during this run, and that should trigger the onevent hook:
librespot/src/player_event_handler.rs
Lines 225 to 228 in 7003e98
Host (what you are running
librespot
on):Additional context
I'm not sure whether the various other errors in the log are intended currently, otherwise I could of course open bug reports for them as well. (In particular the
Too Many Requests
seems interesting, but also the unknown enum variantWIFI_BROADCAST_CHANGED
.The text was updated successfully, but these errors were encountered: