mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #323] Lazy load playlist (particularly, liked songs) tracks #169
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#169
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 @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

@aome510 commented on GitHub (Dec 24, 2023):
Are you using
v0.16.0or newer versions?v0.16.0should support loading liked tracks from a cached file, so the loading should be instant.@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!