Skip to content

Spotify: endless loading of playlist items #420

@rmburg

Description

@rmburg

Every now and again, Spotify connect randomly breaks and cannot reconnect until I reboot the device.
Last time it happened, I checked the log at /dev and saw that it was seemingly stuck in an endless loop fetching playlist items.
I was listening to a regular Spotify playlist, with smart shuffle enabled.
I don't know if this is the cause of my problem, but I'm reporting it anyway since it's most likely a bug either way, and it might even get users rate-limited by Spotify.

Spotify plugin version: 4.3.4
Volumio version info: "System Version: 3.877 Released: Tue 18 Nov 2025 04:14:14 PM CET"

time="2026-02-19T08:52:08+01:00" level=trace msg="loading context page from radio-apollo/v5/tracks/spotify:station:playlist:[spotify ID of the playlist I was listening to]?salt=728482&autoplay=false&count=50&isVideo=false&prev_tracks=[comma-separated list of 50 spotify IDs]" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="fetched new page from  (has next: true)" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="fetched new page 4698 with 50 items (list: 234950)" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="loading context page from radio-apollo/v5/tracks/spotify:station:playlist:[spotify ID of the playlist I was listening to]?salt=747091&autoplay=false&count=50&isVideo=false&prev_tracks=[comma-separated list of 50 spotify IDs]" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="fetched new page from  (has next: true)" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="fetched new page 4699 with 50 items (list: 235000)" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="loading context page from radio-apollo/v5/tracks/spotify:station:playlist:[spotify ID of the playlist I was listening to]?salt=290764&autoplay=false&count=50&isVideo=false&prev_tracks=[comma-separated list of 50 spotify IDs]" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="fetched new page from  (has next: true)" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="fetched new page 4700 with 50 items (list: 235050)" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="loading context page from radio-apollo/v5/tracks/spotify:station:playlist:[spotify ID of the playlist I was listening to]?salt=922773&autoplay=false&count=50&isVideo=false&prev_tracks=[comma-separated list of 50 spotify IDs]" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"
time="2026-02-19T08:52:08+01:00" level=trace msg="fetched new page from  (has next: true)" uri="spotify:station:playlist:[spotify ID of the playlist I was listening to]"

As can be seen in the log, it already loaded more than 200k songs.
Needless to say, my playlist does not contain this many items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions