Fix DevFastAccessCoverArt flag

This commit is contained in:
Deluan
2022-12-22 11:47:18 -05:00
committed by Deluan Quintão
parent 57c3334ea0
commit 045b023b35
5 changed files with 3 additions and 4 deletions
+1
View File
@@ -51,6 +51,7 @@ const getCoverArtUrl = (record, size) => {
...(size && { size }),
}
// TODO Move this logic to server. `song` and `album` should have a CoverArtID
const lastUpdate = Math.floor(Date.parse(record.updatedAt) / 1000)
const id = record.id + '-' + Math.max(lastUpdate, 0).toString(16)
if (record.album) {