Improve the handling of cover art caches
Only download the cover art once at size=1000, then use that everywhere by scaling it down
This commit is contained in:
@@ -58,7 +58,6 @@ class AlbumWithSongs(Gtk.Box):
|
||||
cover_art_filename_future = CacheManager.get_cover_art_filename(
|
||||
album.coverArt,
|
||||
before_download=lambda: artist_artwork.set_loading(True),
|
||||
size=cover_art_size,
|
||||
)
|
||||
cover_art_filename_future.add_done_callback(
|
||||
lambda f: GLib.idle_add(cover_art_future_done, f))
|
||||
|
Reference in New Issue
Block a user