Bugfix/large playlist crash (#111)

* get all song coverArt as they are rendered

doing it all up front was too heavy
temporarily disabled mapping artwork in setQueue, need to fix this

* use cache data for track artwork when available

* fix round art in context menu for songs

* set only the first artwork at play time

then set the rest in the playback service

* handle both cached images and fetching images

* remove commented code

* fix shuffle

fix first thumbnail not being updated on shuffle for now playing background
This commit is contained in:
austinried
2022-04-21 14:58:35 +09:00
committed by GitHub
parent 1944add558
commit a92ad7bfc9
18 changed files with 400 additions and 299 deletions

View File

@@ -43,7 +43,6 @@ export interface Song {
discNumber?: number
duration?: number
starred?: number
coverArt?: string
playCount?: number
userRating?: number
averageRating?: number

View File

@@ -75,7 +75,6 @@ export function mapTrackExtToSong(track: TrackExt): Song {
title: track.title as string,
artist: track.artist,
album: track.album,
coverArt: track.coverArt,
duration: track.duration,
artistId: track.artistId,
albumId: track.albumId,