mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[GH-ISSUE #172] Websocket event : Inactive #109
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amvivaldi on GitHub (Feb 20, 2025).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/172
After a logout request performed i would expect a "emitting websocket event: inactive" to go through the websocket connection when the device is disconnected correctly.
Step to reproduce:
Result from journal:
time="2025-02-20T14:30:30+01:00" level=debug msg="requested logout out from **************************"
time="2025-02-20T14:30:30+01:00" level=debug msg="dealer connection closed"
time="2025-02-20T14:30:30+01:00" level=debug msg="dealer recv loop stopped"
Strangely the inactive notification goes through correctly if a second device connects, disconnecting the first one:
Step to reproduce:
librespot_device_1 log:
time="2025-02-20T15:13:38+01:00" level=debug msg="put connect state inactive"
time="2025-02-20T15:13:38+01:00" level=trace msg="emitting websocket event: inactive"
time="2025-02-20T15:13:38+01:00" level=trace msg="emitting websocket event: stopped"
time="2025-02-20T15:13:38+01:00" level=debug msg="dealer connection closed"
time="2025-02-20T15:13:38+01:00" level=debug msg="dealer recv loop stopped"
Library version 1.2.0