09-03-2024, 12:44 PM
Your question:
"i.e. if an album doesn't have a cover file, moOde appears to use the embedded cover of the last file in the folder. Is there a better way to update the cover other than manually supply a new cover.jpg into the folder, and then force a regen of the thumbnail cache?"
Correct. The last track in an album is used to extract an embedded image. This is because normally if tracks in an Album contain embedded cover art it will be the same image in each track.
There are rare exceptions to this for example Nine Inch Nails - The Slip. In this Album each track contains a different cover image but the Album cover itself is an actually the image contained in the first track.
To handle this type of Album, although it's not documented :-0 do the following:
Also, for compilation albums populate the Album Artist tag with a consistent string for example "Various Artists".
"i.e. if an album doesn't have a cover file, moOde appears to use the embedded cover of the last file in the folder. Is there a better way to update the cover other than manually supply a new cover.jpg into the folder, and then force a regen of the thumbnail cache?"
Correct. The last track in an album is used to extract an embedded image. This is because normally if tracks in an Album contain embedded cover art it will be the same image in each track.
There are rare exceptions to this for example Nine Inch Nails - The Slip. In this Album each track contains a different cover image but the Album cover itself is an actually the image contained in the first track.
To handle this type of Album, although it's not documented :-0 do the following:
Code:
Cover search = Embedded
Audio formats = Default+
Image file in the Album dir
Note that its the last file in the dir
pi@trx:~ $ ls -l /media/VFAT128/FLAC/Nine\ Inch\ Nails/The\ Slip/
total 949248
-rw-r--r-- 1 root root 27384806 Jan 8 2021 '01 999,999.flac'
-rw-r--r-- 1 root root 102507596 Jan 8 2021 '02 1,000,000.flac'
-rw-r--r-- 1 root root 95723922 Jan 8 2021 '03 Letting You.flac'
-rw-r--r-- 1 root root 106626788 Jan 8 2021 '04 Discipline.flac'
-rw-r--r-- 1 root root 101937964 Jan 8 2021 '05 Echoplex.flac'
-rw-r--r-- 1 root root 107364472 Jan 8 2021 '06 Head Down.flac'
-rw-r--r-- 1 root root 62039902 Jan 8 2021 '07 Lights in the Sky.flac'
-rw-r--r-- 1 root root 140543833 Jan 8 2021 '08 Corona Radiata.flac'
-rw-r--r-- 1 root root 98035406 Jan 8 2021 '09 The Four of Us are Dyng.flac'
-rw-r--r-- 1 root root 129636624 Jan 8 2021 '10 Demon Seed.flac'
-rw-r--r-- 1 root root 52174 Oct 5 08:27 'The Slip.jpg'
Generating thumbnail images
For Cover search = Embedded, the thumbnail generator uses the last file in dir to create the thumbnail for the album but if no embedded image is found in that file it uses the first image file it finds in the dir.
So in this example the file ’The Slip.jpg’ is assigned as the thumbnail image for the Album and is what appears in the Library and Queue, and since Cover search priority is to use the embedded image if one exists then each tracks embedded images is shown as the main (non-thumbnail) cover in Playback view and CoverView.
Also, for compilation albums populate the Album Artist tag with a consistent string for example "Various Artists".