Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Redesign] Genre View loads extremely slow/long when a lot of tracks in it and displays artist text instead #1026

Open
lukaslindnermusic opened this issue Jan 18, 2025 · 0 comments

Comments

@lukaslindnermusic
Copy link

lukaslindnermusic commented Jan 18, 2025

using Online Mode.

I have quite some albums with the genre "Soundtrack".
When I am clicking on the genre, it says 0 Tracks 0 Albums and shows the following message (which appears to be intended for the artist view) for about 10-15s, until the view updates and the albums are shown:
Image

Then, as soon as the albums get shown, it shows the (i guess correct) count of albums (in this case 597), but it shows 0 Tracks for quite some time until it updates (in this case to 13033).
I guess that it shows 0 until it is done counting in the background, and I understand that this might take some time in case of large amounts of albums/tracks.

Suggestion: For both the initial loading of the albums as well as the delayed calculation of the track count, indicate the loading. for the view itself, it could be a simple spinning wheel instead of the empty "artist view", and for the track count, instead of showing 0 Tracks let it say "Calculating..." or "Counting..." or something.

(I unfortunately still got no time to get familiar with Dart and the Finamp code, otherwise I would try to work on it myself.
Maybe in the next few months :P )

To improve the loading speed, couldn't it be possible to do it similar as with the albums list view, only loading the first x entries and then appending rows in the background?

@lukaslindnermusic lukaslindnermusic changed the title [Redesign] Genre View loads extremely long when a lot of tracks in it and displays artist text instead [Redesign] Genre View loads extremely slow/long when a lot of tracks in it and displays artist text instead Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant