Skip to content

Auto Recommendation #1320

Open
Open

Description

@ghanenxra

Before requesting

  • I searched open and closed issues for this request.
  • I read the project boundaries in CONTRIBUTING.md.

What problem should Spotifast solve?

Im talking about auto recommendation when i play a song by searching it and when the song comes to end there is no recommended songs like spotify all this while the queue is empty because in spotify this does not happen so i hope u guys can fix this

What would a good solution look like?

When a song played directly from search (or outside of a playlist/album) finishes and the queue is empty, Spotifast should automatically fetch and play recommended/related tracks—similar to Spotify's Autoplay feature.

Workarounds tried & frequency: Currently, I have to manually search for and queue up another song every single time a track ends, which interrupts listening whenever I am just searching and playing individual songs. A toggle in settings to enable/disable Autoplay would also be great.

Why does this fit Spotifast?

Autoplay/auto-recommendation is a core quality-of-life feature expected in any daily-driver Spotify client. Adding lightweight automatic track continuation keeps users listening seamlessly without needing to switch back to the official Spotify app just to discover or keep music playing after a single track ends.
When I search for a song and play it directly, playback stops completely once the song ends because the queue is empty. Unlike the official Spotify client—which automatically plays recommended songs after a single track finishes—Spotifast doesn't queue any auto-recommendations.

Activity

  1. added
    enhancement
    on Nov 12, 2026
  2. chat-with-work commented on Nov 12, 2026

    @chat-with-work

    Spotifast already has Autoplay: with the built-in player, it is under Settings → Playback on this computer and is on by default; it continues with Spotify recommendations after a standalone track ends (queue rules). Is built-in playback selected, and is Autoplay on? If so, playback stopping would point to a bug rather than a missing feature.

  3. ImLuckyWiz commented on Nov 12, 2026

    @ImLuckyWiz

    With Soloist, Spotifast starts a lone track through Spotify’s Web API as a plain track with no context, so Autoplay has nothing to continue from. The built-in player does support Autoplay, but it can hit “audio key” refusals from Spotify. A workaround is to keep Soloist, start the song from the official Spotify app, and transfer playback to it, which keeps Autoplay working.

  4. ImLuckyWiz commented on Nov 12, 2026

    @ImLuckyWiz

    Update: I tested this further, and it reproduces without Spotifast. It points at how the song is started, not at Soloist's Autoplay.

    Soloist 1.3.10.65 on Windows, Autoplay on in my account (Spotifast 0.17.1):

    • Web API, what Spotifast sends for a lone track: PUT /me/player/play with {"uris":["spotify:track:..."]}, sent to a standalone Soloist from Spotify's API console. At the end of the song Soloist pauses at 0:00 and soloist ctl queue is empty.
    • Soloist's own play command with the same track: soloist ctl play spotify:track:.... At the end of the song it moves on to another track, and ctl queue shows [autoplay] entries.
    • Starting from the official Spotify app and transferring playback to Soloist also continues with autoplay.

    So Soloist's Autoplay works. The Web API uris request seems to be what leaves it with nothing to continue from. I only read the code and haven't tried a change, but Spotifast's Soloist WebSocket path currently skips play when it carries a request (RemoteAction::Play => return None in src/soloist/protocol.rs). For a lone track, sending Soloist's play with the uri might fix this.

    Until then, the workaround stays the same: keep Soloist, start the song from the official app and transfer playback.

  5. added
    bug
    and removed
    enhancement
    on Nov 12, 2026
  6. chat-with-work commented on Nov 12, 2026

    @chat-with-work

    Spotify's documented Soloist control API does support play with a track URI, so this is a supported command path, not an undocumented workaround (command reference).

  7. ImLuckyWiz commented on Nov 12, 2026

    @ImLuckyWiz

    Two more details that explain why this happens (same Soloist 1.3.10.65, Windows):

    • After the Web API uris request, soloist ctl now --json shows an empty context. After soloist ctl play spotify:track:... for the same track, context.uri is the track itself. So Soloist's play gives a lone track its own context, and Autoplay continues from it.
    • The Web API can't do that for a single track. context_uri and uris can't be combined (400 "Only one of either context_uri or uris can be specified"), and a track isn't a valid context_uri. With an album as context_uri, started at its last track, Soloist also continues with [autoplay] tracks, so it really is the missing context that matters.

    For comparison, the built-in player already sends a lone song as a context of its own (local_load in src/app.rs). So for a lone track on Soloist, using its play command with the track URI would give the same behavior.

  8. ghanenxra commented on Nov 19, 2026

    @ghanenxra
    Author

    i have created a fix for that check my pr

  9. Magniquick commented on Nov 23, 2026

    @Magniquick
    Contributor

    The open PRs (#1322, #1323, #1354) only handle a request with exactly one song. Several other screens also reach Soloist as a plain uris list through the Web API, so they get a spotify:webapi: context and stop the same way when the list ends:

    Soloist's play takes only a uri, so lists have to go through the Web API. The built-in player already covers this with autoplay_seed: when a plain list plays out, it loads the last song as its own context. Doing the same on Soloist when a spotify:webapi: context ends, by sending play with the last song's URI, would fix all of these in one place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions