Thank you for your donation!


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


Solved: Incomplete ArtWork Scan
#14
(06-03-2021, 04:52 PM)TheOldPresbyope Wrote: @Nautilus

I see you have changed from the default 32-bit kernel to what is for us still an experimental 64-bit kernel. I strongly suggest you revert to the default 32-bit kernel until everything is working to your satisfaction. 

As for those Zend errors

Code:
thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2

they are relatively harmless in the grand scheme of things but you'll have a more satisfactory use of moOde Library Tag and Album views if you check the tracks using a tool like Mp3tag or similar (you can do a web search on music tagging) and correct any metadata issues.

You haven't said how you associate cover art with albums. Is cover art embedded as metadata in each track? Is a cover art file included in each album directory?

If "USB/Discoteca/LCD Soundsystem/This Is Happening" is "the first album that stops getting the artwork shown" then you could use one of the following commands to explore the associated file system directory, either the longform

Code:
ls "/var/lib/mpd/music/USB/Discoteca/LCD Soundsystem/This Is Happening"

or the shortcut

Code:
ls "/media/Discoteca/LCD Soundsystem/This Is Happening"


[note that in Linux one needs to use balanced single or double quotes to protect space characters when working from the command shell. Instead, one can escape each space character with a backslash but that gets tedious.]

The output of the command should be a listing of files, pesky dotted files, and subdirectories with permissions, sizes, etc. Post it here.

For example, here's an album (from a street performer I stopped and listened to; he gave me 30 minutes of his time in music and discussion, I bought his self-published CD) in one of my test directories

Code:
pi@moode:~ $ ls -laR "/media/MUSIC/FOLK/Brian the Folksinger-A Hobos Dulcimer"
'/media/MUSIC/FOLK/Brian the Folksinger-A Hobos Dulcimer':
total 214496
drwxr-xr-x 2 root root    32768 Sep  1  2019  .
drwxr-xr-x 5 root root    32768 Aug  4  2020  ..
-rw-r--r-- 1 root root 16129115 Sep  1  2019 '01.A Hobos Dulcimer.flac'
-rw-r--r-- 1 root root 20804658 Sep  1  2019 '02.A Satisfied Mind.flac'
-rw-r--r-- 1 root root 11546441 Sep  1  2019 '03.Pack Up Your Sorrows.flac'
-rw-r--r-- 1 root root 15740724 Sep  1  2019 '04.Twinkle, Twinkle Little Star.flac'
-rw-r--r-- 1 root root 17738482 Sep  1  2019 '05.Rich Mans Woman Blues.flac'
-rw-r--r-- 1 root root 25762063 Sep  1  2019 '06.Four Strong Winds.flac'
-rw-r--r-- 1 root root 20661346 Sep  1  2019  07.Evangelina.flac
-rw-r--r-- 1 root root 14418274 Sep  1  2019 '08.Pineywood Hills.flac'
-rw-r--r-- 1 root root 34014293 Sep  1  2019 '09.Vincent (Starry, Starry Night).flac'
-rw-r--r-- 1 root root 26663584 Sep  1  2019  10.Stealin.flac
-rw-r--r-- 1 root root 15737114 Sep  1  2019 '11.What A Wonderful World.flac'
-rw-r--r-- 1 root root      301 Sep  1  2019 'A Hobos Dulcimer.m3u'
-rw-r--r-- 1 root root    98205 Sep  1  2019  Folder.jpg

pi@moodelr:~ $ file "/media/MUSIC/FOLK/Brian the Folksinger-A Hobos Dulcimer/Folder.jpg"
/media/MUSIC/FOLK/Brian the Folksinger-A Hobos Dulcimer/Folder.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 300x300, segment length 16, baseline, precision 8, 600x600, components 3

There are no dot files or subdirectories. The Folder.jpg file contains the album's cover art. I used the file command to see if the file is legit jpeg.
[Note that the cover art file can have only certain names (Cover, cover, Folder, folder) and certain image-type file extensions (.gif, .jpg, .jpeg, .png, .tif, .tiff)].

You can determine quickly if you have embedded cover art in a track by using the mediainfo command. No tracks in the above  album contain embedded cover art so let's test the contents of Tim's Stereo Test directory instead:

Code:
pi@moode:~ $ ls -laR "/mnt/SDCARD/Stereo Test"
'/mnt/SDCARD/Stereo Test':
total 2080
drwxr-xr-x 2 root root    4096 Dec  7 22:36 .
drwxr-xr-x 3 root root    4096 Apr  2 16:22 ..
-rw-r--r-- 1 root root 2120405 Dec  7 22:36 LRMonoPhase4.flac
pi@moode:~ $ mediainfo "/mnt/SDCARD/Stereo Test/LRMonoPhase4.flac"
General
Complete name                            : /mnt/SDCARD/Stereo Test/LRMonoPhase4.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 2.02 MiB
Duration                                 : 38 s 761 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 438 kb/s
Album                                    : Stereo Test
Album/Performer                          : Koz
Track name                               : LR Channel And Phase
Track name/Position                      : 1
Track name/Total                         : 1
Performer                                : Koz
Genre                                    : Utilities
Recorded date                            : 1997
Writing application                      : X Lossless Decoder 20161007
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/png
TITLESORT                                : LR Channel And Phase
ARTISTSORT                               : Koz
ALBUMSORT                                : Stereo Test

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 38 s 761 ms
Bit rate mode                            : Variable
Bit rate                                 : 431 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Compression mode                         : Lossless
Stream size                              : 1.99 MiB (99%)
Writing library                          : libFLAC 1.3.1 (UTC 2014-11-25)

and you can see it contains cover art in png format.

All this is just exploratory surgery by which we hope to get to a root cause of your issue. Like exploratory surgery, it can get messy.

Regards,
Kent
Many thanks for your extended response.

I use Matadatics (latest version) and the cover art (mostly .jpg or .jpeg) are embedded in the audio files.

Of the two commands you recommended, only the second one worked:

pi@moode:~ $ ls "/media/Discoteca/LCD Soundsystem/This Is Happening"
'01 Dance Yrself Clean.m4a'  '06 You Wanted A Hit.m4a'
'02 Drunk Girls.m4a'         '07 Pow Pow.m4a'
'03 One Touch.m4a'           "08 Somebody's Calling Me.m4a"
'04 All I Want.m4a'          '09 Home.m4a'
'05 I Can Change.m4a'
pi@moode:~ $

My music Library works fine on PiCorePlayer, but for some reason a small number of them (15%) does not work uo to the LCD Soundsystem album, and barely any one works after that. It seems a scanning problem rather than anything else...

I will revert to 32bits, but the problem started in 32bits, and I changed to 64bits hoping that may made a (positive) difference, but it made none.
Reply


Messages In This Thread
Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 01:03 AM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-03-2021, 01:10 AM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 01:55 AM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 11:55 AM
RE: Incomplete ArtWork Scan - by DRONE7 - 06-03-2021, 02:48 AM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 11:01 AM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 11:20 AM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-03-2021, 09:58 AM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 11:12 AM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 11:22 AM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-03-2021, 01:49 PM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 02:02 PM
RE: Incomplete ArtWork Scan - by TheOldPresbyope - 06-03-2021, 04:52 PM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 05:48 PM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-03-2021, 06:29 PM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 06:52 PM
RE: Incomplete ArtWork Scan - by TheOldPresbyope - 06-03-2021, 06:42 PM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-03-2021, 08:32 PM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 09:55 PM
RE: Incomplete ArtWork Scan - by DRONE7 - 06-03-2021, 10:05 PM
RE: Incomplete ArtWork Scan - by Nautilus - 06-03-2021, 10:31 PM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-04-2021, 12:11 AM
RE: Incomplete ArtWork Scan - by Nautilus - 06-04-2021, 12:38 AM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-04-2021, 02:23 PM
RE: Incomplete ArtWork Scan - by Nautilus - 06-04-2021, 02:50 PM
RE: Incomplete ArtWork Scan - by TheOldPresbyope - 06-04-2021, 02:43 PM
RE: Incomplete ArtWork Scan - by TheOldPresbyope - 06-04-2021, 10:30 PM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-04-2021, 10:54 PM
RE: Incomplete ArtWork Scan - by Nautilus - 06-05-2021, 12:03 PM
RE: Incomplete ArtWork Scan - by TheOldPresbyope - 06-05-2021, 02:52 PM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-05-2021, 11:24 PM
RE: Incomplete ArtWork Scan - by Woodroww - 06-06-2021, 08:55 PM
RE: Incomplete ArtWork Scan - by TheOldPresbyope - 06-06-2021, 10:55 AM
RE: Incomplete ArtWork Scan - by Nautilus - 06-06-2021, 11:14 AM
RE: Incomplete ArtWork Scan - by Tim Curtis - 06-06-2021, 12:22 PM
RE: Incomplete ArtWork Scan - by Nautilus - 06-06-2021, 12:27 PM

Forum Jump: