09-19-2018, 12:08 PM
The coverart extractor checks for the standard file names below and then if none are found it looks for any image file with one of the specified extensions.
Code:
$covers = array(
'Cover.jpg', 'cover.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'
);
Code:
$extensions = array('jpg', 'jpeg', 'png', 'tif', 'tiff');