Thank you for your donation!


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


Cover Search Priority - alphabetical?
#7
(06-11-2019, 02:14 PM)Tim Curtis Wrote: ...

When moOde looks for album art image files it checks for the following names first.

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'

Then if none of these are found it checks for any file with the following extensions and will use the first one it finds.

Code:
$extensions = array('jpg', 'jpeg', 'png', 'tif', 'tiff');

In your particular case it finds back.jpg first.

-Tim

interesting, thank you.

that's certainly something I can "repair" in my library easily enough, but for what its worth I suppose in support of what philrandal has said "front.jpg" is something I've come across quite a bit.

I'm making the corrections as we speak though, and happy to do so if in a broader sense "cover.jpg" and "folder.jpg" are considered standard.

Thanks again.
Reply


Messages In This Thread
RE: Cover Search Priority - alphabetical? - by drivedesigned - 06-11-2019, 11:50 PM

Forum Jump: