mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #767] Autoplay not working for single track #455
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#455
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 @amstrdm on GitHub (Jul 3, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/767
Describe the bug
even when autoplay is set to true in the config, when you play songs and they end autoplay doesnt work. No new songs start to play.
To Reproduce
Expected behaviour
Normally the autoplay feature should work and related songs should start playing.
Log and backtrace
2025-07-03T12:25:43.185666Z INFO librespot_playback::player: (252417 ms) loaded
2025-07-03T12:25:43.185707Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")) }
2025-07-03T12:25:43.185719Z INFO spotify_player::streaming: Got a new player event: Playing { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")), position_ms: 0 }
2025-07-03T12:25:43.516579Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 123ms
2025-07-03T12:25:46.057352Z INFO client_request{request=Player(NextTrack)}: spotify_player::client: Successfully handled the client request, took: 65ms
2025-07-03T12:25:46.062428Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")) }
2025-07-03T12:25:46.138802Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")), position_ms: 0 }
2025-07-03T12:25:49.928722Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")) }
2025-07-03T12:25:49.928748Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")), position_ms: 0 }
2025-07-03T12:25:49.935558Z INFO client_request{request=Player(NextTrack)}: spotify_player::client: Successfully handled the client request, took: 70ms
2025-07-03T12:25:51.603287Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")) }
2025-07-03T12:25:51.603309Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")), position_ms: 0 }
2025-07-03T12:25:51.609744Z INFO client_request{request=Player(NextTrack)}: spotify_player::client: Successfully handled the client request, took: 78ms
2025-07-03T12:25:51.850543Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")) }
2025-07-03T12:25:51.850557Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")), position_ms: 0 }
2025-07-03T12:25:51.857694Z INFO client_request{request=Player(NextTrack)}: spotify_player::client: Successfully handled the client request, took: 70ms
2025-07-03T12:25:52.056204Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")) }
2025-07-03T12:25:52.056224Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")), position_ms: 0 }
2025-07-03T12:25:52.062484Z INFO client_request{request=Player(NextTrack)}: spotify_player::client: Successfully handled the client request, took: 64ms
2025-07-03T12:25:54.077782Z INFO spotify_player::streaming: Got a new player event: Playing { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")), position_ms: 0 }
2025-07-03T12:25:54.080729Z INFO client_request{request=Player(ResumePause)}: spotify_player::client: Successfully handled the client request, took: 77ms
2025-07-03T12:25:55.302732Z INFO client_request{request=Player(SeekTrack(TimeDelta { secs: 248, nanos: 323000000 }))}: spotify_player::client: Successfully handled the client request, took: 121ms
2025-07-03T12:25:58.916868Z INFO spotify_player::streaming: Got a new player event: EndOfTrack { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")) }
2025-07-03T12:25:58.917185Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")) }
2025-07-03T12:25:59.503931Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")), position_ms: 0 }
2025-07-03T12:25:59.503931Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("36puuD04lEUD8kVwQsTLm6")), position_ms: 0 }
2025-07-03T12:29:42.778300Z INFO spotify_player::streaming: New streaming connection has been established!
Please refer to this URL for more details.
Environment
Additional context
@aome510 commented on GitHub (Aug 31, 2025):
Should be fixed with the new release (
v0.21.0)@ghost commented on GitHub (Sep 9, 2025):
@aome510 I'm on version 0.21.0 and am experiencing the same behavior :/
@aome510 commented on GitHub (Sep 9, 2025):
weird, it works for me when I tried on an album. Where did you setup
autoplay: trueconfig and please ensure you haverepeat: offwhen start a playback@ghost commented on GitHub (Sep 9, 2025):
When I play individual songs they just end after. I enabled auto play and all. Repeat doesnt affect my behavior; when I play an individual song, it just stops when it's finished.
@ghost commented on GitHub (Sep 9, 2025):
I set up the auto play from the home manager module (using a flake with the latest version, spotify_player --version reflects this) and I set the autoplay in the device = {} section of the module.
@aome510 commented on GitHub (Sep 9, 2025):
ye autoplay from a single song doesn't work for me either (not too sure what causes this or if this is expected). I tested on an album/playlist and it works
@ghost commented on GitHub (Sep 9, 2025):
Well i think this kind of behavior is what the bug is addressing so maybe it should be reopened
@wawwior commented on GitHub (Oct 8, 2025):
I'm doing exactly this and it works just fine for me,
programs.spotify-player.settings.device.autoplay = true.Try updating your flake again.
@RubenVB-Revolve commented on GitHub (Oct 10, 2025):
I too have autoplay enabled in my config as shown in the image. But it does not work for single songs, just like previously stated. I have refreshed the player, relaunched. It works for albums, playlists, but not individual songs.
@Karo1808 commented on GitHub (Nov 27, 2025):
I’m also affected by this.
Autoplay is enabled, but when I start a track using the search command, no similar songs play afterward. It might be an issue with how tracks started from search are handled.
I’ve also noticed that when I’m not using streaming (and instead use a desktop client as the playback device), autoplay works if I start the song from the desktop client itself (even with media control from
spotify_player), but does not autoplay the next song if I start it fromspotify_player.I’d really appreciate it if this could be fixed, if possible.