[GH-ISSUE #178] Queue is displayed as cyclic even if repeat is disabled #89

Closed
opened 2026-03-02 23:44:25 +03:00 by kerem · 1 comment
Owner

Originally created by @jesyspa on GitHub (Apr 3, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/178

Describe the bug
When playing an album, opening the queue shows the next song as 1 and continues on, but then keeps going, looping the album (even when repeat is off). This is only a problem when displaying the queue; the tracks are not actually played.

To Reproduce

  1. Play an album (e.g. with tracks One, Two, Three, and Four).
  2. Open the queue. You'll see: "1: Two, 2: Three, 3: Four, 4: One, 5: Two, ...".
  3. When the first song ends everything will shift over by one, but the length of the queue will not change.

I've checked this both using spotify-player and spotifyd for the device, both seem to give the same result.

Expected behavior
I'd expect only the songs that will be played to show up in the queue.

Environment

  • OS: Arch Linux
  • Application version: 0.13.1
  • Application features: default (AUR build)

I took a look at the code and I can't tell why this would be happening; is this an rspotify or even just an API issue? The documentation of those doesn't suggest so, though...

Originally created by @jesyspa on GitHub (Apr 3, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/178 **Describe the bug** When playing an album, opening the queue shows the next song as 1 and continues on, but then keeps going, looping the album (even when repeat is off). This is only a problem when displaying the queue; the tracks are not actually played. **To Reproduce** 1. Play an album (e.g. with tracks One, Two, Three, and Four). 2. Open the queue. You'll see: "1: Two, 2: Three, 3: Four, 4: One, 5: Two, ...". 3. When the first song ends everything will shift over by one, but the length of the queue will not change. I've checked this both using `spotify-player` and `spotifyd` for the device, both seem to give the same result. **Expected behavior** I'd expect only the songs that will be played to show up in the queue. **Environment** - OS: Arch Linux - Application version: 0.13.1 - Application features: default (AUR build) I took a look at the code and I can't tell why this would be happening; is this an rspotify or even just an API issue? The documentation of those doesn't suggest so, though...
kerem 2026-03-02 23:44:25 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Apr 3, 2023):

I think it is a Spotify API issue. I got the same result when using the official Spotify app as the running client. I will close this for now as it's unrelated to spotify_player. Feel free re-open if you encounter any similar issues.

<!-- gh-comment-id:1494873432 --> @aome510 commented on GitHub (Apr 3, 2023): I think it is a Spotify API issue. I got the same result when using the official Spotify app as the running client. I will close this for now as it's unrelated to `spotify_player`. Feel free re-open if you encounter any similar issues.
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/spotify-player#89
No description provided.