Find artist.* image in Artist folder

This commit is contained in:
Deluan
2023-01-12 14:13:23 -05:00
committed by Deluan Quintão
parent 69e0a266f4
commit c90468b895
6 changed files with 111 additions and 8 deletions
+1
View File
@@ -146,6 +146,7 @@ func (mfs MediaFiles) ToAlbum() Album {
a.EmbedArtPath = m.Path
}
}
a.Paths = strings.Join(mfs.Dirs(), string(filepath.ListSeparator))
comments = slices.Compact(comments)
if len(comments) == 1 {
a.Comment = comments[0]