Thank you for your donation!


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


[SOLVED] "Cover art not found" not displayed correctly
#1
Hello,

I have recently copied some files to my libraires, but covers art are not displayed.
I don't understand why as other software seems to be able to display them, but what is annoying is that, instead of display a blank cover with the "moOde TM" text, it displays only a broken icon image and the text "covert art not found"

The consequence is that it is diffcult to click on the cover to return to library with the officlal raspberry touchscreen (low resolution) ...

May be a future improvement when the software can't manage the image ?

Thanks for your help and have a nice week-end

Best regards,
Alain
Reply
#2
@Alain 

As ever, Tim and I are willing to have a look at a problematic album or two if you upload a zipped copy to some-file sharing service and PM a link to us.

Regards,
Kent
Reply
#3
I will send you a zipped file by PM

Thanks a lot,

Best regards,
Alain
Reply
#4
@Alain 
@Tim Curtis 

Since Tim just mentioned these files in another thread, I should note that I've been playing with them a bit this morning. There are some weirdnesses with them I don't fully understand yet. I'm bringing up some of my heavy artillery to rip them apart and put them back together again to see where the weirdness lies.

Regards,
Kent
Reply
#5
After adding some debug to the thumbnail generator it looks like the embedded images in those files may be corrupt or unreadable by the PHP routines that extract the image width/height.

20210124 102203 worker: Job regen_thmcache
20210124 102204 thmcache: Start
20210124 102204 thmcache: Priority: Embedded cover
20210124 102204 thmcache: Res,Qual: Auto
20210124 102204 thmcache: Px ratio: 1
20210124 102204 thmcache: Th width: 100
20210124 102204 thmcache: Thm qual: 75
20210124 102204 thmcache: Scanning: NAS, SDCARD, UPNP, VFAT128
20210124 102204 Width: (300) Height: (300) Path: /var/lib/mpd/music/SDCARD/Stereo Test/LRMonoPhase4.flac
20210124 102204 Width: (580) Height: (580) Path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/1-2-1970/Grateful Dead - Uncle John's Band.flac
20210124 102204 Width: (500) Height: (496) Path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/[2003] Diamonds on the Inside/01-14 _ She's Only Happy in the Sun.flac
20210124 102204 Width: (2400) Height: (2400) Path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/Adrian/HEJ09-Refuge Of The Roads.flac
20210124 102205 Width: (400) Height: (400) Path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/AIFF/Crookt, Crackt, Or Fly/08 The Wrong Soundings.aiff
20210124 102205 Width: () Height: () Path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/Alain/The Rolling Stones - 1-11 (I Can't Get No) Satisfaction.mp3
20210124 102205 Width: (1500) Height: (1500) Path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/Alison Krauss/01 Baby, Now That I've Found You.m4a
20210124 102205 Width: (600) Height: (600) Path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/Amazing Grace/Alligator Records/17 - Amazing Grace.flac
20210124 102205 Width: (1000) Height: (1000) Path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/Amazing Grace/LeAnn Rimes/11 - Amazing Grace.flac
20210124 102205 Width: (1000) Height: (1000) Path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/Amazing Grace/Niki King & Marcus Ford/14 - Amazing Grace.flac
2
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
Figures. I go off to noodle over the thumbnail generation code and start to uncomment some of the workerlog statements, come back, and find you've already done it!

This reminds me of an old Second City line "Do fish think? Yes, but not fast enough!"

I've just pulled out the coverart images from the mp3 files. At a blush they looked ok but with your clue in hand I'll look harder.

Regards,
Kent
Reply
#7
Thanks for your investigation!
it's weird....
Reply
#8
(01-24-2021, 03:47 PM)TheOldPresbyope Wrote: Figures. I go off to noodle over the thumbnail generation code and start to uncomment some of the workerlog statements, come back, and find you've already done it!

This reminds me of an old Second City line "Do fish think? Yes, but not fast enough!"

I've just pulled out the coverart images from the mp3 files. At a blush they looked ok but with your clue in hand I'll look harder.

Regards,
Kent

There are also missing Album and Genre tags in the files. Best bet is to re-tag and re-embed the art.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
(01-24-2021, 04:10 PM)Tim Curtis Wrote: There are also missing Album and Genre tags in the files. Best bet is to re-tag and re-embed the art.

Missing album and Genre has been deleted intentionally because files from this folder are sorted accordingly to their path.
Otherwise, the sort are differents....

BUT, what's strange, is that the embedded image from files provided are correctly decoded from other softwares (easyTag, picard ...), and image has been already re-embeded  Tongue (initially, it was the same image that an other file provided: Chuck Berry - Johnny B. Goode.mp3, wich is broken too)
Maybe a bug with tag softwares....
Reply
#10
Maybe some other part of the file is corrupt, I dunno. What matters is whether the PHP image routines can read the width and height of the extracted image. https://www.php.net/manual/en/ref.image.php

There are many other .mp3 files on my test_mixed collection that have embedded images and are OK.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: