[GH-ISSUE #152] NFR: Playlists API #94

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

Originally created by @stronk-dev on GitHub (Dec 9, 2024).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/152

For my go-librespot-based squeezebox I am only missing a few features:

  • (in progress) smart shuffle.
  • (not important, nice for later) display the next song / retrieval of the play queue.
  • being able to play from a stopped state or switch playlists

To enable the 3rd feature, ideally the go-librespot API has an endpoint to retrieve Spotify URI's of the playlists belonging to the connected account, maybe even the last played URI so that we can 'resume' where it last left off.

I am unfamiliar with Spotify's API and librespot's codebase, but if these tasks seem doable with some pointers I would be up to working on a PR to add this.

Originally created by @stronk-dev on GitHub (Dec 9, 2024). Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/152 For my `go-librespot`-based squeezebox I am only missing a few features: - ([in progress](https://github.com/devgianlu/go-librespot/pull/124)) smart shuffle. - (not important, nice for later) display the next song / retrieval of the play queue. - being able to `play` from a stopped state or switch playlists To enable the 3rd feature, ideally the `go-librespot` API has an endpoint to retrieve Spotify URI's of the playlists belonging to the connected account, maybe even the last played URI so that we can 'resume' where it last left off. I am unfamiliar with Spotify's API and `librespot`'s codebase, but if these tasks seem doable with some pointers I would be up to working on a PR to add this.
kerem closed this issue 2026-02-28 14:25:18 +03:00
Author
Owner

@devgianlu commented on GitHub (Dec 9, 2024):

My advice to use the API passthrough (https://github.com/devgianlu/go-librespot/pull/66) to contact the official API (https://developer.spotify.com/documentation/web-api).

<!-- gh-comment-id:2529009956 --> @devgianlu commented on GitHub (Dec 9, 2024): My advice to use the API passthrough (https://github.com/devgianlu/go-librespot/pull/66) to contact the official API (https://developer.spotify.com/documentation/web-api).
Author
Owner

@stronk-dev commented on GitHub (Dec 11, 2024):

Yeah that works great... 🕳🐰
image

I think then the issue is probably more about enhancing the API docs - make a clear distinction between the features of the WebSocket, the REST API and the API passthrough for newcomers. I can submit a PR for this at some point

<!-- gh-comment-id:2535535028 --> @stronk-dev commented on GitHub (Dec 11, 2024): Yeah that works great... 🕳🐰 <img width="1338" alt="image" src="https://github.com/user-attachments/assets/70dab661-33cc-44cd-ad3e-ae50d4031a53"> I think then the issue is probably more about enhancing the API docs - make a clear distinction between the features of the WebSocket, the REST API and the API passthrough for newcomers. I can submit a PR for this at some point
Author
Owner

@devgianlu commented on GitHub (Dec 11, 2024):

I can submit a PR for this at some point

@stronk-dev That would be great! Closing this for now.

<!-- gh-comment-id:2536802339 --> @devgianlu commented on GitHub (Dec 11, 2024): > I can submit a PR for this at some point @stronk-dev That would be great! Closing this for now.
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#94
No description provided.