[GH-ISSUE #323] Lazy load playlist (particularly, liked songs) tracks #169

Closed
opened 2026-03-02 23:45:11 +03:00 by kerem · 2 comments
Owner

Originally created by @khrj on GitHub (Dec 22, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/323

Is your feature request related to a problem? Please describe.
Whenever I open the "Liked Tracks" view, spotify-player shows Loading... for a while before it actually displays the tracks. I believe this is because all the tracks are loaded first and then displayed.

Describe the solution you'd like
Ideally, the first batch of tracks should be shown immediately while the rest load in the background

Describe alternatives you've considered
Alternatively, you could lazy-load the tracks only on scrolling. However, this is less preferable as it makes searching not possible.

Additional context
image

Originally created by @khrj on GitHub (Dec 22, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/323 **Is your feature request related to a problem? Please describe.** Whenever I open the "Liked Tracks" view, spotify-player shows `Loading...` for a while before it actually displays the tracks. I believe this is because all the tracks are loaded first and then displayed. **Describe the solution you'd like** Ideally, the first batch of tracks should be shown immediately while the rest load in the background **Describe alternatives you've considered** Alternatively, you could lazy-load the tracks only on scrolling. However, this is less preferable as it makes searching not possible. **Additional context** ![image](https://github.com/aome510/spotify-player/assets/44947946/6057e59d-21a6-42b7-ae15-c976047c9b3d)
kerem 2026-03-02 23:45:11 +03:00
Author
Owner

@aome510 commented on GitHub (Dec 24, 2023):

Are you using v0.16.0 or newer versions? v0.16.0 should support loading liked tracks from a cached file, so the loading should be instant.

<!-- gh-comment-id:1868413599 --> @aome510 commented on GitHub (Dec 24, 2023): Are you using `v0.16.0` or newer versions? `v0.16.0` should support loading liked tracks from a cached file, so the loading should be instant.
Author
Owner

@khrj commented on GitHub (Dec 24, 2023):

I was using 0.15.2 (since that's the latest on nixpkgs: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/audio/spotify-player/default.nix)

Using a cache file works just fine, if I find a little time later I'll try to update the package. Thanks!

<!-- gh-comment-id:1868462510 --> @khrj commented on GitHub (Dec 24, 2023): I was using 0.15.2 (since that's the latest on nixpkgs: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/audio/spotify-player/default.nix) Using a cache file works just fine, if I find a little time later I'll try to update the package. Thanks!
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#169
No description provided.