Invalidate cached images when album changes
This commit is contained in:
@@ -28,10 +28,12 @@ const mapToAudioLists = (item) => {
|
||||
artistId: item.albumArtistId,
|
||||
duration: item.duration,
|
||||
musicSrc: subsonic.url('stream', id, { ts: true }),
|
||||
cover: subsonic.url(
|
||||
'getCoverArt',
|
||||
config.devFastAccessCoverArt ? item.albumId : id,
|
||||
{ size: 300 }
|
||||
cover: subsonic.getCoverArtUrl(
|
||||
{
|
||||
coverArtId: config.devFastAccessCoverArt ? item.albumId : id,
|
||||
updatedAt: item.updatedAt,
|
||||
},
|
||||
300
|
||||
),
|
||||
scrobbled: false,
|
||||
uuid: uuidv4(),
|
||||
|
||||
Reference in New Issue
Block a user