04-30-2022, 12:39 PM
Displaying a master cover for box sets is not currently possible due to the way the thumbnail generator and Tag/Album views work. They are designed to search for and display cover art belonging to individual albums in the typical artist/album directory structure like below.
The file name of each album thumbnail in /var/local/www/imagesw/thmbcache/ is an md5 hash of the tracks's containing directory path. This makes it easy in the client-side Library views to construct the URL to the cover image.
There is an item on the TODO list to investigate displaying an artist cover thumbnail in the bottom left of Library Tag view like below. The file would need to be named "artist.jpg" and located in the directory containing the album directories for the artist. Something like that.
Code:
artist1
album1
cover.jpg
album2
cover.jpg
.
.
The file name of each album thumbnail in /var/local/www/imagesw/thmbcache/ is an md5 hash of the tracks's containing directory path. This makes it easy in the client-side Library views to construct the URL to the cover image.
Code:
TRACK: "NAS/FLAC/Peter Gabriel/Us/01 Come Talk To Me.flac"
pi@moode:~ $ echo -n "NAS/FLAC/Peter Gabriel/Us" | md5sum
c233981aba37361d174ce61f13607d72 -
pi@moode:~ $ ls /var/local/www/imagesw/thmcache/c233981aba37361d174ce61f13607d72.jpg
/var/local/www/imagesw/thmcache/c233981aba37361d174ce61f13607d72.jpg
ALBUM COVER URL: http://moode/imagesw/c233981aba37361d174ce61f13607d72.jpg
There is an item on the TODO list to investigate displaying an artist cover thumbnail in the bottom left of Library Tag view like below. The file would need to be named "artist.jpg" and located in the directory containing the album directories for the artist. Something like that.
Code:
artist1
artist.jpg
album1
cover.jpg
album2
cover.jpg
.
.