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

@@ -421,7 +421,7 @@ class ChromecastPlayer(Player):
force_stream=True,
)
cover_art_url = CacheManager.get_cover_art_url(song.id, 1000)
cover_art_url = CacheManager.get_cover_art_url(song.id)
self.chromecast.media_controller.play_media(
file_or_url,
# Just pretend that whatever we send it is mp3, even if it isn't.