resize too-large cover images

This commit is contained in:
Gabe Farrell 2026-04-12 19:42:31 -04:00
parent 769f3ff08c
commit 93a5fc411e
3 changed files with 60 additions and 0 deletions

View file

@ -254,6 +254,10 @@ func importPendingRelease(pd *pendingDownload, localDir string) {
}
}
if err := NormalizeCoverArt(localDir); err != nil {
logf(fmt.Sprintf("Cover art normalization warning: %v", err))
}
if err := EmbedAlbumArtIntoFolder(localDir); err != nil {
entry.finish(fmt.Errorf("cover embed failed: %w", err))
return