02-11-2021, 10:01 PM
(02-11-2021, 09:18 PM)leosaro Wrote: Thank you Tim for that answer.
Before asking the question about the covers I did several researches and modified the code of the covertart.php file. After the modification I re-scanned the base but I still have "_back" covers displayed.
Indeed it takes the first file it encounters.
Best regards.
Olivier
Code:function parseFolder($path) {
//workerLog('coverart: parseFolder(): ' . $path);
// default cover files
$covers = array(
'_Front.jpg', '_front.jpg', 'Cover.jpg', 'cover.jpg', 'Folder.jpg', 'folder.jpg'
//'Cover.jpeg', 'cover.jpeg', 'Cover.png', 'cover.png', 'Cover.tif', 'cover.tif', 'Cover.tiff', 'cover.tiff',
//'Folder.jpg', 'folder.jpg', 'Folder.jpeg', 'folder.jpeg', 'Folder.png', 'folder.png', 'Folder.tif', 'folder.tif', 'Folder.tiff', //'folder.tiff'
);
Are your covers embedded or are they cover files?