Skip to content
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

NFR: Playlists API #152

Closed
stronk-dev opened this issue Dec 9, 2024 · 3 comments
Closed

NFR: Playlists API #152

stronk-dev opened this issue Dec 9, 2024 · 3 comments

Comments

@stronk-dev
Copy link

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.

@devgianlu
Copy link
Owner

My advice to use the API passthrough (#66) to contact the official API (https://developer.spotify.com/documentation/web-api).

@stronk-dev
Copy link
Author

stronk-dev commented 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

@devgianlu
Copy link
Owner

I can submit a PR for this at some point

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants