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
#4
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
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Show default cover when fail extract embedded image - by Tim Curtis - 08-06-2018, 11:38 PM

Forum Jump: