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:
Sumner Evans
2020-02-22 07:56:40 -07:00
parent cf1e6f0dff
commit 1de7ba6327
10 changed files with 28 additions and 30 deletions

View File

@@ -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))