mirror of
https://github.com/gabehf/music-importer.git
synced 2026-04-22 11:31:52 -07:00
resize too-large cover images
This commit is contained in:
parent
769f3ff08c
commit
93a5fc411e
3 changed files with 60 additions and 0 deletions
|
|
@ -218,6 +218,10 @@ func RunImporter() {
|
|||
}
|
||||
}
|
||||
|
||||
if err := NormalizeCoverArt(albumPath); err != nil {
|
||||
fmt.Println("Cover art normalization warning:", err)
|
||||
}
|
||||
|
||||
fmt.Println("→ Embedding cover art for album:", albumPath)
|
||||
result.CoverArt.Err = EmbedAlbumArtIntoFolder(albumPath)
|
||||
if coverImg, err := FindCoverImage(albumPath); err == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue