Skip to content

Large 'liked tracks' does not laod #941

@domgregori

Description

@domgregori

Describe the bug
When going to LikedTrackPage with a large library (10,000), it does not load. Stays at Loading...

To Reproduce
gy, go to LikedTrackPage

Expected behaviour
Load my liked tracks

Log and backtrace

2026-02-27T05:03:11.117863Z  INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handled the client request, took: 680ms
2026-02-27T05:03:13.671893Z ERROR client_request{request=GetUserFollowedArtists}: spotify_player::client::handlers: Failed to handle client request: failed to send a Spotify API request https://api.spotify.com/v1/me/following?type=artist&limit=20&after=0CjWKoS55T7DOt0HJuwF1H: {
  "error": {
    "status": 429,
    "message": "API rate limit exceeded"
  }
}
2026-02-27T05:03:13.689197Z 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-27T05:03:13.726114Z ERROR spotify_player::client: Failed to retrieve current playback: http error: status code 429 Too Many Requests
2026-02-27T05:03:13.821360Z 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-27T05:03:13.830629Z  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-27T05:03:14.689306Z ERROR spotify_player::client: Failed to retrieve current playback: http error: status code 429 Too Many Requests

Backtrace empty

Environment

  • OS: 6.12.63-1-MANJARO
  • Application version: 0.22.1
  • Application features:
Compile-time features:
  ✗ daemon
  ✓ streaming
  ✓ media-control
  ✓ image
  ✓ viuer
  ✗ sixel
  ✗ pixelate
  ✓ notify
  ✗ fzf
  ✗ pulseaudio-backend
  ✗ alsa-backend
  ✓ rodio-backend
  ✗ jackaudio-backend
  ✗ sdl-backend
  ✗ gstreamer-backend

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions