Thank you for your donation!


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


albums artwork not showing on all
#4
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');
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: albums artwork not showing on all - by Tim Curtis - 09-19-2018, 12:08 PM
RE: albums artwork not showing on all - by ICLlP - 12-28-2020, 06:45 PM

Forum Jump: