-
Notifications
You must be signed in to change notification settings - Fork 639
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
Event Handling for AutoPlay not functioning #1411
Comments
Can you please try with #1356 |
It is actually a separate issue, so using the dealer impl doesn't fix the problem. I did run into it myself and wanted to open an issue, but didn't got to it, yet. Anyways, the issue seems to be that on windows the I think if we would acquire the infos via the ucs (i think it was called user customization service) we might be able to fix that, but that needs to be tested tho. See here for some documentation that was previously done: #734 (comment) |
Great ok. I've not looked through your monster PR properly yet (that might end up being after it's merged by the sounds of it) so wasn't sure what was touched outside of dealer, I'd just lumped anything spirc related as possibly in flux! |
I did really try hard to only integrate the dealer xD, Yes I added new functionally, but that just because the dealer supports more^^ |
Btw. @kingosticks if you want to look over the PR or review it, we could probably still wait merging it. Anyhow in regards to the ucs endpoint. It seems on linux ucs isn't used (probably because autoplay is still sent via the product information) and I currently don't have access to windows or android snooping to get the information needed (the linked comment provided an incorrect endpoint). So using ucs might be a platform dependent thing in the end. |
What you want guys - no pressure. I'm on a family weekend anyway. @photovoltex Thanks for your e-mail - did you yet see my response? Also no haste, just checking. |
@roderickvd yeah, I'm just slow to respond when I have to think more about my responses, will probably answer over the course of the weekend tho |
Description
Autoplay doesn't seem to be triggering an event for an event handler to pickup
Version
Version:L librespot 0.6.0-dev 82076e8 (Built on 2024-12-02, Build ID: WMNNBRja, Profile: release)
How to reproduce
Steps to reproduce the behavior in librespot e.g.
librespot
with '-v'[2024-12-06T12:34:58Z TRACE librespot_connect::spirc] Received attribute mutation for autoplay but key was not found!
[2024-12-06T12:35:42Z DEBUG librespot::player_event_handler] Running C:\...\git\librespot-eventHandler-C++\out.exe with environment variables: { "TRACK_ID": "7f9YaN8bcVLFlTMexwSlzb", "PLAYER_EVENT": "preloading", }
Log
Not Many Logs but here's a snippet from a track playing then toggling autoplay a few times:
Host (what you are running
librespot
on):Edit: missed description, version number and fixed formatting
The text was updated successfully, but these errors were encountered: