gmusicbrowser Forum

Main board => Questions => Topic started by: hutber on February 09, 2019, 15:25:15

Title: Cache album artwork
Post by: hutber on February 09, 2019, 15:25:15
Is it possible to have the album artwork cache. Currently every time I start the problem and I scroll through my standard view it needs to read each album artwork.
Title: Re: Cache album artwork
Post by: MountainX on November 02, 2021, 19:28:10
GMB is caching album artwork for me. I did not have to do anything to achieve this.
Title: Re: Cache album artwork
Post by: publicradio on January 28, 2022, 00:32:46
MountainX, are you sure it's caching? I have never found a caching function for GMB, and like hutber, it always has to read right from the  disk.

This used to be fine, because I have an SSD. However, I have found that the new GMB, which uses GTK3, takes noticeably longer to load album art. Also, if I'm reading files from an external drive or SD card, it is very slow.

Now, GMB will cache artwork in the session. So if I go to a filter with a bunch of albums, they might take a while to load in, but then when I go back to that filter, those images are still in RAM so they load instantly. But it would be cool if everything would load instantly, between sessions.
Title: Re: Cache album artwork
Post by: MountainX on January 29, 2022, 09:03:44
I'll check further. So far I have never noticed any delay in the artwork loading (between sessions).
Title: Re: Cache album artwork
Post by: Quentin Sculo on February 02, 2022, 00:31:04
(sorry for rarely coming around)
- for gtk3 version, slow loading of embedded pictures was a known bug. I fixed it a bit after the beta release thanks to Glib::Object::Introspection 0.049, but you need to use the git version AND have Glib::Object::Introspection >= 0.049.
- there is currently no caching of pictures on disk, in part because I rarely use a fixed picture size in gmb, even in mosaic there is a number of optional sizes, and I often thought about adding a custom size option in the submenu. So the caching would only be really useful for overly large pictures, or if the original is on a slow disk/network.
Title: Re: Cache album artwork
Post by: publicradio on July 16, 2022, 18:08:59
HI Quentin, are you saying I need to go to Github and compile from source, in order to speed up the display of cover art?
Title: Re: Cache album artwork
Post by: hutber on December 21, 2023, 22:30:27
I would love a "fix" for this, as odd as it might sound. Its mildly annoying and something I feel every time I reboot the machine.