mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[GH-ISSUE #178] Can it support the function of controlling other Spotify Connect devices? #115
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#115
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 @2659170494 on GitHub (Mar 30, 2025).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/178
Hello,
I raised this question because I discovered a project called SpotControl, which extends the functionality of controlling other devices based on LibreSpot.
Due to the limited usability of Spotify Jam, I would like to try building one myself using LibreSpot. But since I don't know how to rust, I found go-librespot through librespot-java
But when I was building my own go-Librespot, I found that although it supports other devices to connect and control go Librespot through Spotify Connect, go Librespot seems unable to connect and control other Spotify Connect devices.
I roughly checked the code of Rust Librespot and it seems that it supports this feature.
So I would like to inquire if there are any plans to support this feature in the future? If go Librespot already supports this feature, can you tell me where its implementation is for me to connect?
Thank you very much!
@devgianlu commented on GitHub (Mar 30, 2025):
If you want to control playback on Spotify Connect devices you can use the official Web SDK, for example, to transfer playback.
@2659170494 commented on GitHub (Mar 30, 2025):
Thank you for your reply!
However, there are still some issues. Can the API in the documentation be called through the /web-API/ of go-Librespot?
If possible, I just tried {url}/web-api/v1/me/layer/devices to view the available devices, but it returned empty.
My account has not yet been activated as a Premium, and I cannot confirm if this is related to Premium. The interface does not indicate the need for Premium, and the documentation also states "Some device models are not supported and will not be listed in the API response " 💦
@devgianlu commented on GitHub (Mar 30, 2025):
That's true, making the request through the
/web-api/helper returns an empty list. I don't see why it should do that, it's probably something related to the access token used. Not sure how we'd go about fixing this.@2659170494 commented on GitHub (Mar 30, 2025):
Okay, Thank you for your reply again!
so I still want to ask if "controlling Spotify Connect through go-libreSpot" is in the plan?
I am concerned that with the activation of Premium, due to the existence of 'Some device models are not supported', I may not be able to perfectly control other people's devices even through webAPIs.
Because I did discover that Rust's Librespot has a "discovery" API for searching Spotify Connect devices. I think this idea may have been part of their plan, and I haven't found any ready-made solutions other than Rust Librespot 💦
@devgianlu commented on GitHub (Nov 30, 2025):
Closing since the problem likely relies on Spotify's side.