feat: add cache to the getCoverArt endpoint, avoid it being reloaded every single time in the UI
This commit is contained in:
@@ -20,11 +20,9 @@ const AlbumDetails = ({ classes, record }) => {
|
||||
return (
|
||||
<Card className={classes.container}>
|
||||
<CardMedia
|
||||
image={subsonicUrl(
|
||||
'getCoverArt',
|
||||
record.coverArtId || 'not_found',
|
||||
'size=500'
|
||||
)}
|
||||
image={subsonicUrl('getCoverArt', record.coverArtId || 'not_found', {
|
||||
size: 500
|
||||
})}
|
||||
className={classes.albumCover}
|
||||
/>
|
||||
<CardContent className={classes.albumDetails}>
|
||||
|
||||
Reference in New Issue
Block a user