06-03-2021, 01:49 PM
Now open Library Config, regenerate the Thumbnail cache and look in the Moode log again for the stats and any errors.
Thank you for your donation!
Solved: Incomplete ArtWork Scan
|
06-03-2021, 01:49 PM
Now open Library Config, regenerate the Thumbnail cache and look in the Moode log again for the stats and any errors.
(06-03-2021, 01:49 PM)Tim Curtis Wrote: Now open Library Config, regenerate the Thumbnail cache and look in the Moode log again for the stats and any errors. Hi Tim, I have done dozen of times, as well as "Library Update", "Refresh" and "Reboots", but here it is: The programs included with moOde are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Moode comes with absolutely no warranties expressed or implied, or any other guarantees. pi@moode:~ $ moodeutl -l 20210602 222108 worker: -- Start 20210602 222108 worker: Successfully daemonized 20210602 222108 worker: Integrity check (passed) 20210602 222108 worker: File check (OK) 20210602 222109 worker: Session vacuumed 20210602 222109 worker: Session loaded 20210602 222109 worker: Debug logging (OFF) 20210602 222109 worker: -- Audio debug 20210602 222109 worker: ALSA cards: (0:b1 | 1:Headphones | 2:G20 | 3:empty 20210602 222109 worker: MPD config: (2:Gustard USB Audio 2.0 | mixerPCM) | card:2) 20210602 222109 worker: ALSA mixer actual (PCM) 20210602 222109 worker: ALSA PCM volume set to (amixer: Unable to find simple control 'PCM',0) 20210602 222109 worker: -- System 20210602 222110 worker: Host (moode) 20210602 222110 worker: moOde (7.2.1 2021-05-06) 20210602 222110 worker: RaspiOS (10.6) 20210602 222110 worker: Kernel (5.4.77-v8+ #1371) 20210602 222110 worker: Platform (Pi-4B 1.4 8GB) 20210602 222110 worker: ARM arch (aarch64, 64-bit kernel) 20210602 222110 worker: MPD ver (0.22.6_p0x3) 20210602 222110 worker: CPU gov (ondemand) 20210602 222110 worker: USB boot not available 20210602 222110 worker: File system not expanded yet 20210602 222110 worker: HDMI port off 20210602 222110 worker: -- Network 20210602 222110 worker: eth0 exists 20210602 222110 worker: eth0 wait 0 for IP address 20210602 222113 worker: eth0 wait 1 for IP address 20210602 222116 worker: eth0 wait 2 for IP address 20210602 222119 worker: eth0 wait 3 for IP address 20210602 222122 worker: eth0 wait 4 for IP address 20210603 064634 worker: eth0 address not assigned 20210603 064634 worker: wlan0 exists 20210603 064634 worker: wifi country (US) 20210603 064634 worker: wlan0 trying SSID (El Sótano) 20210603 064634 worker: IP addr (192.168.86.144) 20210603 064634 worker: Netmask (255.255.255.0) 20210603 064634 worker: Gateway (192.168.86.1) 20210603 064634 worker: Pri DNS (192.168.86.1) 20210603 064634 worker: Domain (lan) 20210603 064634 worker: Pi integrated wlan0 power save disabled 20210603 064634 worker: -- Audio config 20210603 064634 worker: ALSA card number (2) 20210603 064634 worker: MPD audio output (Gustard USB Audio 2.0) 20210603 064634 worker: Audio formats (S32_LE, SPECIAL, DSD_U32_BE) 20210603 064635 worker: ALSA mixer name (PCM) 20210603 064635 worker: MPD volume control (none) 20210603 064635 worker: Hdwr volume controller not detected 20210603 064635 worker: ALSA loopback (Off) 20210603 064635 worker: Reset renderer active flags 20210603 064635 worker: CamillaDSP (off) 20210603 064635 worker: -- MPD startup 20210603 064635 worker: MPD started 20210603 064635 worker: MPD accepting connections 20210603 064635 worker: MPD output 1 ALSA Default (on) 20210603 064635 worker: MPD output 2 ALSA Bluetooth (off) 20210603 064635 worker: MPD output 3 HTTP Server (off) 20210603 064635 worker: MPD crossfade (off) 20210603 064635 worker: MPD ignore CUE files (yes) 20210603 064635 worker: -- Feature availability 20210603 064635 worker: Source select (available) 20210603 064635 worker: Source select (source: MPD) 20210603 064635 worker: Source select (output: Gustard USB Audio 2.0) 20210603 064635 worker: Bluetooth (available) 20210603 064635 worker: Airplay renderer (available) 20210603 064635 worker: Spotify renderer (available) 20210603 064635 worker: Squeezelite (available) 20210603 064635 worker: RoonBridge renderer (not installed) 20210603 064635 worker: UPnP renderer (available) 20210603 064635 worker: DLNA server (available) 20210603 064635 worker: UPnP browser (available) 20210603 064635 worker: GPIO button handler (available) 20210603 064635 worker: Stream recorder (n/a) 20210603 064635 worker: -- Music sources 20210603 064635 worker: USB source (Discoteca) 20210603 064635 worker: NAS and UPnP sources (none configured) 20210603 064635 worker: -- Other 20210603 064635 worker: USB volume knob (Off) 20210603 064635 worker: USB auto-mounter (udisks-glue) 20210603 064635 worker: LED0 (On) 20210603 064635 worker: LED1 (On) 20210603 064635 worker: Saved MPD vol level (0) 20210603 064635 worker: Preamp volume level (0) 20210603 064635 worker: MPD volume level (0) restored 20210603 064635 worker: ALSA volume level (None) 20210603 064635 worker: Auto-play (Off) 20210603 064635 worker: Maintenance interval (3 hours) 20210603 064635 worker: Screen saver activation (Never) 20210603 064635 worker: Session permissions (OK) 20210603 064635 worker: Watchdog started 20210603 064635 worker: Ready 20210603 071509 worker: Job shellinabox 20210603 095915 worker: Job regen_thmcache 20210603 095915 thmcache: Start 20210603 095915 thmcache: Priority: Embedded cover 20210603 095915 thmcache: Res,Qual: Auto 20210603 095915 thmcache: Px ratio: 2 20210603 095915 thmcache: Th width: 200 20210603 095915 thmcache: Thm qual: 75 20210603 095915 thmcache: Scanning: NAS, SDCARD, UPNP, Discoteca 20210603 095956 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Foo Fighters/One by One/11 Come Back.mp3 20210603 095956 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag 20210603 100001 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Guillemots/Euro Express - 634U/03 Made Up Love Song #43.mp3 20210603 100001 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2 20210603 100001 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Guillemots/Trains To Brazil/01 Trains To Brazil.mp3 20210603 100001 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2 20210603 100006 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Jason Mraz/Levi's Pioneer Sessions 2010 Revival Recordings/Levis_JasonMraz_SpiritInTheSky.mp3 20210603 100006 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2 20210603 100008 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Jethro Tull/Collection/13 Living in the Past.mp3 20210603 100008 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag pi@moode:~ $ and BTW, under Library > Thumbnail Generator > View Status, I got the same message as at my first post: Scanning folder 468 USB/Discoteca/LCD Soundsystem/This Is Happening and that is the first album that stops getting the artwork shown
06-03-2021, 04:52 PM
(This post was last modified: 06-03-2021, 04:56 PM by TheOldPresbyope.
Edit Reason: added a few words
)
@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" 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" 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
06-03-2021, 05:48 PM
(06-03-2021, 04:52 PM)TheOldPresbyope Wrote: @NautilusMany 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.
06-03-2021, 06:29 PM
In Tag view do the Album and Track counts listed below the "Music Collection" cover reflect your collection?
If so then it would indicate MPD indexed the collection successfully and the issue is isolated to thumbnail generation either in the script that generates the input list for the thumbnail generator, the generator itself or some data thats causing unexpected issues.
06-03-2021, 06:42 PM
(This post was last modified: 06-03-2021, 06:43 PM by TheOldPresbyope.
Edit Reason: added ETA: PS
)
@Nautilus
Hmmm, M4A files (e.g., MPEG-4 with audio but not video). Do all the tracks which don't display cover art happen to be M4a files? This is a container format with little industry-wide standardization of content. I suspect many people believe that whatever iTunes does is "the standard." The few test tracks I've downloaded seem to work in moOde vis-a-vis metadata and embedded cover art. Here's data from a test track I downloaded from Hyperion some time ago; I expect most iTunes tracks would be similar. Code: pi@moode:/media/MUSIC/SampleTracks/Hyperion/Orchestral $ mediainfo 18*M4A As you can see, mediainfo says the file contains cover art but, because of the nature of M4A apparently, it doesn't try to figure out the image format of the cover art. Perhaps @Tim Curtis can comment on image formats embedded in M4A which are acceptable to moOde's cover art routines. I'd rather not try to interpret the applicable php module(s). Do you see any log messages containing "coverart: m4a:" or "thmcache: m4a"? I'll be away from my keyboard for a while to pack more boxes. Maybe others will pick up the chase in the meantime. Regards, Kent ETA - PS I didn't notice Tim's reply before I posted this
06-03-2021, 06:52 PM
(06-03-2021, 06:29 PM)Tim Curtis Wrote: In Tag view do the Album and Track counts listed below the "Music Collection" cover reflect your collection? Hello again Tim, and thanks for your patience... The albums are all there, but the art cover doesn't show up under albums beyond the LCD Soundsystem album, even if under tag view some of them are visible
06-03-2021, 08:32 PM
(This post was last modified: 06-03-2021, 08:33 PM by Tim Curtis.)
Back in post #12 it appears the log abruptly ended w/o printing the "Done:" line showing the results and counts of thumbnail generation. This suggests the thumbnail generator crashed for some reason.
Code: . Here's what it should look like. Notice the "Done:" line at the end showing the stats. This was run on one of my small mixed content test collections. Some of the files have bad metadata. Code: 20210603 162054 worker: Job regen_thmcache As @DRONE7 suggested earlier, remove the folder that you suspect might be the involve in the crash and then regenerate the thumbnails. There are prolly other ways to troubleshoot but I'd try that first.
06-03-2021, 09:55 PM
(06-03-2021, 08:32 PM)Tim Curtis Wrote: Back in post #12 it appears the log abruptly ended w/o printing the "Done:" line showing the results and counts of thumbnail generation. This suggests the thumbnail generator crashed for some reason. Well, not successful at all:
Now what?
Put the USB drive back in your MAC...check the files are there then make sure you safely/properly remove it.
Then plug it back into the Pi...try another USB port (and not the USB3 ports) Check that it us found...you can run from a terminal if needed . Code: lsusb Go to the library tab and do a full regenerate.
----------
bob |
« Next Oldest | Next Newest »
|