aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
3.37k stars 146 forks source link

Lazy load large playlists #502

Open nonetrix opened 1 month ago

nonetrix commented 1 month ago

Is your feature already implemented in the latest master? Doesn't seem to be

Is your feature request related to a problem? Please describe. Memory usage is high when loading my 8,000 song liked playlist, if it was double it would be comparable to Spotify. But luckily it is just 600MB, still not great at all and likely will get rate limited as well image

Describe the solution you'd like Lazily load songs and only load more when you scroll, unload if you scroll down a lot

Describe alternatives you've considered None I can think of

Additional context None I can think of

nonetrix commented 1 month ago

Also I have had other clients implement lazy loading but only shuffle songs in the lazy load view, maybe can pick a random number between 0 and how many songs are present and load the songs there? I think that would be best.