Open chowbok opened 10 months ago
👋 I'm not quite sure what to say -- The loading should be (and is on my machine) instantaneous. We save the full-size album art so some of the cached files can be quite heavy depending on your library, but normally nothing egregious.
The album art cache can be browsed in File Explorer at %LOCALAPPDATA%\Packages\13459Difegue.Stylophone_zd7bwy3j4yjfy\LocalState\AlbumArt
-- Maybe the covers aren't saving there properly?
How many covers are you loading?
One per album.
When it comes to the library view we wait to get the full album information from mpd before loading cover art, but I guess we could load cached data faster there if we already have it since all it needs is the album title
What I was getting at was that if it's working fine for you, maybe you have less albums to load? Because I have around 4000.
FWIW, Cantata loads them instantly, so it is possible.
Ah right, my mistake - I have around 1500 here. I believe Cantata doesn't rely on the albumart
command.
I looked in that cache directory and the artwork is being saved there. Does it check with the server before loading the cached image?
It does - I've pushed some changes to try loading from cache before contacting the server, but it still won't be instantaneous due to WIndows.Storage being a fairly slow API + the fact we don't store small/bitcrushed version of cover art, so decoding can take some time depending on how large the coverart is.
The config claims that the album covers are cached, but it seems to reload them every time I start up the app. If it is loading them from the cache, it's doing it very slowly.