[GH-ISSUE #199] Feature request: Add event for context change events (e.g. changed playlist) #130

Closed
opened 2026-02-28 14:25:39 +03:00 by kerem · 3 comments
Owner

Originally created by @DrRSatzteil on GitHub (Aug 22, 2025).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/199

I would love to see the URI of a playlist (or similar) that has been selected for playing. So it would be great to have a separate event that is fired when the playback context changes e.g. when the playback of a new playlist starts/was started. I have no insights in how this could be achieved or what other context types exist (e.g. albums, podcasts, etc.).

Originally created by @DrRSatzteil on GitHub (Aug 22, 2025). Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/199 I would love to see the URI of a playlist (or similar) that has been selected for playing. So it would be great to have a separate event that is fired when the playback context changes e.g. when the playback of a new playlist starts/was started. I have no insights in how this could be achieved or what other context types exist (e.g. albums, podcasts, etc.).
kerem 2026-02-28 14:25:39 +03:00
Author
Owner

@devgianlu commented on GitHub (Aug 30, 2025):

I've added the context URI to each WebSocket event, that should be enough right?

<!-- gh-comment-id:3239313481 --> @devgianlu commented on GitHub (Aug 30, 2025): I've added the context URI to each WebSocket event, that should be enough right?
Author
Owner

@DrRSatzteil commented on GitHub (Aug 30, 2025):

Thank you, I think that this should do the trick. I will try this out and let you know if this works 😊

<!-- gh-comment-id:3239339071 --> @DrRSatzteil commented on GitHub (Aug 30, 2025): Thank you, I think that this should do the trick. I will try this out and let you know if this works 😊
Author
Owner

@DrRSatzteil commented on GitHub (Oct 4, 2025):

Sorry, was a bit held off by other stuff. Works perfectly, thank you!

<!-- gh-comment-id:3368084894 --> @DrRSatzteil commented on GitHub (Oct 4, 2025): Sorry, was a bit held off by other stuff. Works perfectly, thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-librespot#130
No description provided.