Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Albums Tags & Power On/Off
#5
(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?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Albums Tags & Power On/Off - by leosaro - 02-11-2021, 08:20 PM
RE: Albums Tags & Power On/Off - by Tim Curtis - 02-11-2021, 08:55 PM
RE: Albums Tags & Power On/Off - by leosaro - 02-11-2021, 09:18 PM
RE: Albums Tags & Power On/Off - by Tim Curtis - 02-11-2021, 10:01 PM
RE: Albums Tags & Power On/Off - by Stephanowicz - 02-11-2021, 09:48 PM
RE: Albums Tags & Power On/Off - by leosaro - 02-11-2021, 10:08 PM
RE: Albums Tags & Power On/Off - by Tim Curtis - 02-11-2021, 10:14 PM
RE: Albums Tags & Power On/Off - by leosaro - 02-11-2021, 10:27 PM
RE: Albums Tags & Power On/Off - by leosaro - 02-11-2021, 11:48 PM
RE: Albums Tags & Power On/Off - by Tim Curtis - 02-12-2021, 12:02 AM

Forum Jump: