Repository navigation
Replies: 2 comments 1 reply
|
Today a Spotify playlist or album only starts from a key, there is no API for it. The speaker's engine can play a context URI directly, so an endpoint like this fits without touching credentials, and I have put it on the backlog. One question decides how big it gets. Should a playlist started this way also show up in Recently played and be startable again from there, like a radio station? |
|
@JRpersonal , From a user perspective, I don't see a reason to treat Spotify content differently. Recently Played should provide a consistent experience regardless of the source. Ideally, STR should store the Spotify context URI so that selecting an entry starts the entire playlist or album again, rather than just the last played track. This would also fit nicely with how I plan to use Recently Played in my iOS app. |
Uh oh!
There was an error while loading. Please reload this page.
What would you like?
Third-party apps should be able to start saved Spotify playlists or albums on an STR-Reborn speaker without occupying one of the 12 hardware preset buttons.
Suggested local endpoint:
POST /api/spotify/play
Example:
{
"uri": "spotify:playlist:…"
}
Optional metadata:
{
"uri": "spotify:album:…",
"name": "Album name",
"art": "https://…/cover.jpg"
}
Requirements:
Why would it help you?
It would let third-party remote-control apps save Spotify playlists and albums as normal app-level favourites without consuming scarce hardware preset slots.
The speaker would still own the Spotify session and playback, while the app would only store stable public context identifiers such as a playlist or album URI. This keeps credentials and DRM-sensitive playback entirely on the speaker, avoids storing temporary stream URLs, and gives users a clean separation between:
All reactions