mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #840] Large playlists can't be loaded #1439
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#1439
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 @leto-ux on GitHub (Sep 28, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/840
This issue has persisted since I first used the app, about 6 months ago. It is specially relevant to the liked songs playlist, as mine has a bit over 2000 tracks on it.
When trying to load it, it can often get stuck in "Loading...", which from some of my early tests can easily last 8-10 hours without ever doing anything.
Most of the time the only way to fix it is to either quit and try again, or to start spamming the (gy) shortcut to reload the liked songs playlist. It can take literally a couple of minutes of trying just to have it load.
Sometimes it just loads instantly, even from fresh reboot.
The app barely uses any more memory when trying to load the playlist, about 10mb delta.
app.toml:
@aome510 commented on GitHub (Nov 12, 2025):
Related
@leto-ux commented on GitHub (Feb 14, 2026):
Unfortunately after testing, the issue persists. It's not an issue of slow loading. It's that it often just won't load at all, requiring multiple app restarts, or changes in context window, to fix.
Seems to be spotify's api that's at fault.
Tested conditions where I wouldn't use the API for a day then start using the app. It would still randomly appear with these log messages.
logs
``` 2026-02-14T01:20:40.055351Z INFO spotify_player::state::data: Loading Playlists data from /home/asdf/.cache/spotify-player/Playlists_cache.json... 2026-02-14T01:20:40.055459Z INFO spotify_player::state::data: Successfully loaded Playlists data! 2026-02-14T01:20:40.055469Z INFO spotify_player::state::data: Loading FollowedArtists data from /home/asdf/.cache/spotify-player/FollowedArtists_cache.json... 2026-02-14T01:20:40.055516Z INFO spotify_player::state::data: Successfully loaded FollowedArtists data! 2026-02-14T01:20:40.055525Z INFO spotify_player::state::data: Loading SavedAlbums data from /home/asdf/.cache/spotify-player/SavedAlbums_cache.json... 2026-02-14T01:20:40.055916Z INFO spotify_player::state::data: Successfully loaded SavedAlbums data! 2026-02-14T01:20:40.055923Z INFO spotify_player::state::data: Loading SavedTracks data from /home/asdf/.cache/spotify-player/SavedTracks_cache.json... 2026-02-14T01:20:40.062592Z INFO spotify_player::state::data: Successfully loaded SavedTracks data! 2026-02-14T01:20:40.099812Z INFO spotify_player::auth: Using cached credentials 2026-02-14T01:20:40.099838Z INFO spotify_player::streaming: Application's connect configurations: ConnectConfig { name: "spotify-player", device_type: Speaker, is_group: false, initial_volume: 45875, disable_volume: false, volume_steps: 64 } 2026-02-14T01:20:40.099861Z INFO librespot_playback::mixer::softmixer: Mixing with softvol and volume control: Log(60.0) 2026-02-14T01:20:40.099899Z INFO spotify_player::streaming: Initializing a new integrated player with device_id=9f7cd8d9-d9fb-4d99-b1c4-605f784b6ee1 2026-02-14T01:20:40.099980Z INFO spotify_player::streaming: Starting an integrated Spotify player using librespot's spirc protocol 2026-02-14T01:20:40.100044Z INFO librespot_playback::convert: Converting with ditherer: tpdf 2026-02-14T01:20:40.100073Z INFO librespot_playback::audio_backend::pulseaudio: Using PulseAudioSink with format: S16 2026-02-14T01:20:42.156273Z WARN librespot_connect::state::context: couldn't load context info because: context is not available. type: Default 2026-02-14T01:20:42.231581Z WARN librespot_connect::state::context: couldn't load context info because: context is not available. type: Default 2026-02-14T01:20:42.287056Z INFO spotify_player::client: Connection succeeded (device_id=9f7cd8d9-d9fb-4d99-b1c4-605f784b6ee1)! 2026-02-14T01:20:42.289374Z INFO librespot_playback::player: Loading with Spotify URI 2026-02-14T01:20:42.345886Z INFO librespot_playback::player: Loading with Spotify URI 2026-02-14T01:20:42.431449Z INFO spotify_player::client: Connection succeeded (device_id=9f7cd8d9-d9fb-4d99-b1c4-605f784b6ee1)! 2026-02-14T01:20:43.632834Z INFO librespot_playback::player: (215858 ms) loaded 2026-02-14T01:20:43.632905Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("65X2koe1LhDgQmRkNdJFv9")) } 2026-02-14T01:20:43.644760Z INFO spotify_player::streaming: Got a new player event: Playing { playable_id: Track(TrackId("65X2koe1LhDgQmRkNdJFv9")), position_ms: 53270 } 2026-02-14T01:20:43.647129Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:43.865589Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 428ms 2026-02-14T01:20:43.912090Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 364ms 2026-02-14T01:20:44.019154Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 371ms 2026-02-14T01:20:44.056020Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 308ms 2026-02-14T01:20:44.160143Z INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 312ms 2026-02-14T01:20:44.365517Z INFO librespot_playback::player: (215858 ms) loaded 2026-02-14T01:20:44.738739Z INFO client_request{request=GetUserFollowedArtists}: spotify_player::client: Successfully handled the client request, took: 3902ms 2026-02-14T01:20:45.486208Z INFO client_request{request=GetUserSavedAlbums}: spotify_player::client: Successfully handled the client request, took: 4650ms 2026-02-14T01:20:46.110880Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:46.146097Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:46.893171Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:46.942030Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:46.944797Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:46.971531Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:47.936190Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:47.988220Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:47.992350Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:48.021451Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:49.056976Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:49.061644Z ERROR spotify_player::client: Encountered an error when updating the playback state: http error: status code 429 Too Many Requests 2026-02-14T01:20:49.151054Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:49.160465Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:49.351251Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:49.373280Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:49.651498Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:49.851663Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:50.051841Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:54.236602Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:54.478283Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:54.516464Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:54.655893Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:54.678975Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:54.942213Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:54.956620Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:55.156771Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:55.179725Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:55.416833Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:55.457029Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:55.646767Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:55.657187Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:55.895542Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:55.957438Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:56.136541Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:56.157632Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:56.357817Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:56.361659Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:56.558024Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:56.579577Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:56.758227Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:56.773004Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:56.943648Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:56.958404Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:57.145000Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:57.158622Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:57.312165Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:57.358805Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:57.458912Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:57.478737Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:57.827941Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:20:57.859241Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:58.659802Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:20:58.678512Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:22:05.435137Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:22:05.635343Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:22:07.557193Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 2160ms 2026-02-14T01:22:07.788771Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 2177ms 2026-02-14T01:22:08.044336Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:22:08.399831Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:22:09.367516Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:22:09.401457Z ERROR client_request{request=GetUserSavedTracks}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/tracks: { "error": { "status": 429, "message": "API rate limit exceeded" } } 2026-02-14T01:22:56.642663Z INFO librespot_playback::player: Loading with Spotify URI 2026-02-14T01:22:57.459252Z INFO librespot_playback::player: (239520 ms) loaded 2026-02-14T01:23:11.138793Z INFO client_request{request=Player(ResumePause)}: spotify_player::client: Successfully handled the client request, took: 116ms 2026-02-14T01:23:11.317987Z INFO spotify_player::streaming: Got a new player event: Paused { playable_id: Track(TrackId("65X2koe1LhDgQmRkNdJFv9")), position_ms: 200436 } 2026-02-14T01:23:12.332931Z INFO spotify_player::client::handlers: Current context ID (None) is different from the expected ID (Some(Tracks(TracksId { uri: "tracks:user-liked-tracks", kind: "Liked Tracks" }))), update the context state 2026-02-14T01:23:13.906500Z INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handled the client request, took: 1628ms ```