Thank you for your donation!


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


Solved: Show default cover when fail extract embedded image
#5
(08-06-2018, 11:38 PM)Tim Curtis Wrote: If coverart.php can't find embedded art in a track it looks for art in any track in the dir and if none found then it looks for a cover image file in the dir. Its basically assuming that either all the tracks in the dir belong to a single album and at least one of them has embedded art or if they are tracks from different albums then they all have embedded art.

So, changing it to use default cover would break the case where not all the tracks in an album dir have embedded art and there is no cover image file in the dir.

But maybe thats the corner case and its better to use default cover than wrong cover for dirs that have tracks from different albums some with cover art and some without. Dunno.

-Tim

Understand, is there a way to break the case in coverart.php? I can manually add the cover back if I want, so modifying the php in my pi would be fine.
Reply


Messages In This Thread
RE: Show default cover when fail extract embedded image - by MilleNotti - 08-07-2018, 12:09 AM

Forum Jump: