Thank you for your donation!


Solved: Incomplete ArtWork Scan
#21
(06-03-2021, 10:05 PM)DRONE7 Wrote: 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.

Changing the USB port a few times did the trick (?), and also removing that particular album/folder (that works well in VLC) worked. Here is the log:

Last login: Thu Jun  3 13:40:45 2021 from fe80::18d4:6af9:146:b54%wlan0
pi@moode:~ $ moodeutl -l
20210603 181629 worker: -- Start
20210603 181630 worker: Successfully daemonized
20210603 181630 worker: Integrity check (passed)
20210603 181630 worker: File check (OK)
20210603 181631 worker: Session vacuumed
20210603 181631 worker: Session loaded
20210603 181631 worker: Debug logging (OFF)
20210603 181631 worker: -- Audio debug
20210603 181631 worker: ALSA cards: (0:b1 | 1:Headphones | 2:G20 | 3:empty
20210603 181631 worker: MPD config: (2:Gustard USB Audio 2.0 | mixerSadPCM) | card:2)
20210603 181631 worker: ALSA mixer actual (PCM)
20210603 181631 worker: ALSA PCM volume set to (amixer: Unable to find simple control 'PCM',0)
20210603 181631 worker: -- System
20210603 181632 worker: Host     (moode)
20210603 181632 worker: moOde    (7.2.1 2021-05-06)
20210603 181632 worker: RaspiOS  (10.6)
20210603 181632 worker: Kernel   (5.4.77-v7l+ #1371)
20210603 181632 worker: Platform (Pi-4B 1.4 8GB)
20210603 181632 worker: ARM arch (armv7l, 32-bit kernel)
20210603 181632 worker: MPD ver  (0.22.6_p0x3)
20210603 181632 worker: CPU gov  (ondemand)
20210603 181632 worker: USB boot not available
20210603 181632 worker: File system not expanded yet
20210603 181632 worker: HDMI port off
20210603 181632 worker: -- Network
20210603 181632 worker: eth0 exists
20210603 181633 worker: eth0 wait 0 for IP address
20210603 181636 worker: eth0 wait 1 for IP address
20210603 181639 worker: eth0 wait 2 for IP address
20210603 181642 worker: eth0 wait 3 for IP address
20210603 181645 worker: eth0 wait 4 for IP address
20210603 181904 worker: eth0 address not assigned
20210603 181904 worker: wlan0 exists
20210603 181904 worker: wifi country (US)
20210603 181904 worker: wlan0 trying SSID (El Sótano)
20210603 181904 worker: IP addr (192.168.86.144)
20210603 181904 worker: Netmask (255.255.255.0)
20210603 181904 worker: Gateway (192.168.86.1)
20210603 181904 worker: Pri DNS (192.168.86.1)
20210603 181904 worker: Domain  (lan)
20210603 181904 worker: Pi integrated wlan0 power save disabled
20210603 181904 worker: -- Audio config
20210603 181904 worker: ALSA card number (2)
20210603 181904 worker: MPD audio output (Gustard USB Audio 2.0)
20210603 181904 worker: Audio formats (S32_LE, SPECIAL, DSD_U32_BE)
20210603 181904 worker: ALSA mixer name (PCM)
20210603 181904 worker: MPD volume control (none)
20210603 181904 worker: Hdwr volume controller not detected
20210603 181904 worker: ALSA loopback (Off)
20210603 181904 worker: Reset renderer active flags
20210603 181904 worker: CamillaDSP (off)
20210603 181904 worker: -- MPD startup
20210603 181904 worker: MPD started
20210603 181905 worker: MPD accepting connections
20210603 181905 worker: MPD output 1 ALSA Default (on)
20210603 181905 worker: MPD output 2 ALSA Bluetooth (off)
20210603 181905 worker: MPD output 3 HTTP Server (off)
20210603 181905 worker: MPD crossfade (off)
20210603 181905 worker: MPD ignore CUE files (yes)
20210603 181905 worker: -- Feature availability
20210603 181905 worker: Source select (available)
20210603 181905 worker: Source select (source: MPD)
20210603 181905 worker: Source select (output: Gustard USB Audio 2.0)
20210603 181905 worker: Bluetooth (available)
20210603 181905 worker: Airplay renderer (available)
20210603 181905 worker: Spotify renderer (available)
20210603 181905 worker: Squeezelite (available)
20210603 181905 worker: RoonBridge renderer (not installed)
20210603 181905 worker: UPnP renderer (available)
20210603 181905 worker: DLNA server (available)
20210603 181905 worker: UPnP browser (available)
20210603 181905 worker: GPIO button handler (available)
20210603 181905 worker: Stream recorder (n/a)
20210603 181905 worker: -- Music sources
20210603 181905 worker: USB source (Discoteca)
20210603 181905 worker: NAS and UPnP sources (none configured)
20210603 181905 worker: -- Other
20210603 181905 worker: USB volume knob (Off)
20210603 181905 worker: Shellinabox SSH started
20210603 181905 worker: USB auto-mounter (udisks-glue)
20210603 181905 worker: LED0 (On)
20210603 181905 worker: LED1 (On)
20210603 181905 worker: Saved MPD vol level (0)
20210603 181905 worker: Preamp volume level (0)
20210603 181905 worker: MPD volume level (0) restored
20210603 181905 worker: ALSA volume level (None)
20210603 181905 worker: Auto-play (Off)
20210603 181905 worker: Maintenance interval (3 hours)
20210603 181905 worker: Screen saver activation (Never)
20210603 181905 worker: Session permissions (OK)
20210603 181905 worker: Watchdog started
20210603 181905 worker: Ready
20210603 182131 worker: Job update_library
20210603 182131 mpdindex: Start
20210603 182131 thmcache: Start
20210603 182131 thmcache: Priority: Embedded cover
20210603 182131 thmcache: Res,Qual: Auto
20210603 182131 thmcache: Px ratio: 2
20210603 182131 thmcache: Th width: 200
20210603 182131 thmcache: Thm qual: 75
20210603 182131 thmcache: Scanning: NAS, SDCARD, UPNP, Discoteca
20210603 182148 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Foo Fighters/One by One/11 Come Back.mp3
20210603 182148 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182149 mpdindex: Done: indexed 668 artists, 947 albums, 11713 songs
20210603 182149 worker: Job update_library done
20210603 182152 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Guillemots/Euro Express - 634U/03 Made Up Love Song #43.mp3
20210603 182152 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182152 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Guillemots/Trains To Brazil/01 Trains To Brazil.mp3
20210603 182152 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182157 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Jason Mraz/Levi's Pioneer Sessions 2010 Revival Recordings/Levis_JasonMraz_SpiritInTheSky.mp3
20210603 182157 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182159 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Jethro Tull/Collection/13 Living in the Past.mp3
20210603 182159 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182210 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Lúcia Moniz/67/10 Carta (Nua e Crua).mp3
20210603 182210 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182210 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Lúcia Moniz/Magnolia/O Meu Coraçáo Não Tem Cor.mp3
20210603 182210 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182220 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Natalie Merchant/Retrospective 1990-2005/13 Sally Ann.mp3
20210603 182220 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182241 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Steve Winwood/Refugees of the Heart/04 I Will Be Here.mp3
20210603 182241 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182245 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Stone Temple Pilots/Purple/11 Kitchen Ware & Candy Bars.mp3
20210603 182245 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182245 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Sublime/Sublime [Bonus CD]/17 Doin' Time.mp3
20210603 182245 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182245 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Sublime/Unknown Album/No Woman No Cry.mp3
20210603 182245 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182247 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Talk Talk/Natural History_ The Very Best of Talk Talk/10 Happiness Is Easy.mp3
20210603 182247 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182247 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Tanita Tikaram/The Sweet Keeper/10 Harm in Your Hands.mp3
20210603 182247 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182247 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Texas/The Hush/09 Saint.mp3
20210603 182247 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182249 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/The Bee Gees/Greatest (Special Edition)/14 You Stepped Into My Life.mp3
20210603 182249 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182252 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/The KLF/The White Room Original Motion Picture Soundtrack/10 Born free.mp3
20210603 182252 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182256 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/The Smashing Pumpkins/Mellon Collie & the Infinite Sadness [dawn to dusk]/1-14 Take Me Down.mp3
20210603 182256 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182300 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Vangelis/Chariots of Fire/07 Chariots Of Fire.mp3
20210603 182300 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182304 thmcache: Done: 1011 folders scanned, 807 thumbs created, 204 already in cache.
20210603 182305 worker: Job regen_thmcache
20210603 182305 thmcache: Start
20210603 182305 thmcache: Priority: Embedded cover
20210603 182305 thmcache: Res,Qual: Auto
20210603 182305 thmcache: Px ratio: 2
20210603 182305 thmcache: Th width: 200
20210603 182305 thmcache: Thm qual: 75
20210603 182305 thmcache: Scanning: NAS, SDCARD, UPNP, Discoteca
20210603 182342 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Foo Fighters/One by One/11 Come Back.mp3
20210603 182342 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182346 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Guillemots/Euro Express - 634U/03 Made Up Love Song #43.mp3
20210603 182346 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182347 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Guillemots/Trains To Brazil/01 Trains To Brazil.mp3
20210603 182347 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182352 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Jason Mraz/Levi's Pioneer Sessions 2010 Revival Recordings/Levis_JasonMraz_SpiritInTheSky.mp3
20210603 182352 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182353 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Jethro Tull/Collection/13 Living in the Past.mp3
20210603 182353 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182403 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Lúcia Moniz/67/10 Carta (Nua e Crua).mp3
20210603 182403 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182403 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Lúcia Moniz/Magnolia/O Meu Coraçáo Não Tem Cor.mp3
20210603 182403 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182413 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Natalie Merchant/Retrospective 1990-2005/13 Sally Ann.mp3
20210603 182413 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182434 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Steve Winwood/Refugees of the Heart/04 I Will Be Here.mp3
20210603 182434 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182438 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Stone Temple Pilots/Purple/11 Kitchen Ware & Candy Bars.mp3
20210603 182438 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182438 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Sublime/Sublime [Bonus CD]/17 Doin' Time.mp3
20210603 182438 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182438 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Sublime/Unknown Album/No Woman No Cry.mp3
20210603 182438 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182440 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Talk Talk/Natural History_ The Very Best of Talk Talk/10 Happiness Is Easy.mp3
20210603 182440 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182440 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Tanita Tikaram/The Sweet Keeper/10 Harm in Your Hands.mp3
20210603 182440 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182440 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Texas/The Hush/09 Saint.mp3
20210603 182440 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182442 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/The Bee Gees/Greatest (Special Edition)/14 You Stepped Into My Life.mp3
20210603 182442 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182445 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/The KLF/The White Room Original Motion Picture Soundtrack/10 Born free.mp3
20210603 182445 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182449 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/The Smashing Pumpkins/Mellon Collie & the Infinite Sadness [dawn to dusk]/1-14 Take Me Down.mp3
20210603 182449 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182453 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Vangelis/Chariots of Fire/07 Chariots Of Fire.mp3
20210603 182453 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182456 thmcache: Done: 1011 folders scanned, 989 thumbs created, 22 already in cache.
20210603 182630 worker: Job regen_thmcache
20210603 182630 thmcache: Start
20210603 182630 thmcache: Priority: Embedded cover
20210603 182630 thmcache: Res,Qual: Auto
20210603 182630 thmcache: Px ratio: 2
20210603 182630 thmcache: Th width: 200
20210603 182630 thmcache: Thm qual: 75
20210603 182630 thmcache: Scanning: NAS, SDCARD, UPNP, Discoteca
20210603 182708 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Foo Fighters/One by One/11 Come Back.mp3
20210603 182708 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182712 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Guillemots/Euro Express - 634U/03 Made Up Love Song #43.mp3
20210603 182712 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182712 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Guillemots/Trains To Brazil/01 Trains To Brazil.mp3
20210603 182712 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182717 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Jason Mraz/Levi's Pioneer Sessions 2010 Revival Recordings/Levis_JasonMraz_SpiritInTheSky.mp3
20210603 182717 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182718 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Jethro Tull/Collection/13 Living in the Past.mp3
20210603 182718 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182728 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Lúcia Moniz/67/10 Carta (Nua e Crua).mp3
20210603 182728 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182728 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Lúcia Moniz/Magnolia/O Meu Coraçáo Não Tem Cor.mp3
20210603 182728 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182738 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Natalie Merchant/Retrospective 1990-2005/13 Sally Ann.mp3
20210603 182738 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182759 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Steve Winwood/Refugees of the Heart/04 I Will Be Here.mp3
20210603 182759 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182803 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Stone Temple Pilots/Purple/11 Kitchen Ware & Candy Bars.mp3
20210603 182803 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182803 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Sublime/Sublime [Bonus CD]/17 Doin' Time.mp3
20210603 182803 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182803 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Sublime/Unknown Album/No Woman No Cry.mp3
20210603 182803 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182805 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Talk Talk/Natural History_ The Very Best of Talk Talk/10 Happiness Is Easy.mp3
20210603 182805 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182805 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Tanita Tikaram/The Sweet Keeper/10 Harm in Your Hands.mp3
20210603 182805 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182805 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Texas/The Hush/09 Saint.mp3
20210603 182805 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182807 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/The Bee Gees/Greatest (Special Edition)/14 You Stepped Into My Life.mp3
20210603 182807 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182810 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/The KLF/The White Room Original Motion Picture Soundtrack/10 Born free.mp3
20210603 182810 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182814 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/The Smashing Pumpkins/Mellon Collie & the Infinite Sadness [dawn to dusk]/1-14 Take Me Down.mp3
20210603 182814 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag
20210603 182818 thmcache: mp3: /var/lib/mpd/music/USB/Discoteca/Vangelis/Chariots of Fire/07 Chariots Of Fire.mp3
20210603 182818 thmcache: mp3: Zend media exception: File does not contain ID3v2 tag of supported version: v2.2
20210603 182821 thmcache: Done: 1011 folders scanned, 989 thumbs created, 22 already in cache.
Reply
#22
Feel free to zip up the album folder and PM a download link me and @TheOldPresbyope. One of us will analyze it when we get a chance.
Reply
#23
(06-04-2021, 12:11 AM)Tim Curtis Wrote: Feel free to zip up the album folder and PM a download link me and @TheOldPresbyope. One of us will analyze it when we get a chance.

Thank you guys: I'll do that tomorrow.

Thanks a ton for everyone involved: this makes a community thrive Smile
Reply
#24
The m4a files in the download you provided definitely crash the thumbnail generator and also cause tons of errors in MPD log when playing. This suggests some sort of issue resulting from the way they were created/ripped.

Note that the iTunes M4A files that I have in my test collection, both in AAC and ALAC format work fine with thumbnail generator and MPD. No errors whatsoever. They were all created in iTunes or provided by users who created or downloaded them via iTunes.

Here's some analysis showing the various issues in the files you provided.

# Detail logging from thmcache.php showing no further logging after attempting to process Home.m4a. This indicates thmcache.php either hangs or crashes.

Code:
20210604 090114 thmcache: path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/steve/Misc/08 Church Of Flames.mp3
20210604 090114 thmcache: path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/the_bertrum/Julia-Sophie - 3/Julia-Sophie - -3 - 04 love let you down.flac
20210604 090114 thmcache: path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/This Is Happening/09 Home.m4a
c^C

# Mediainfo output showing an "Other" block present in the file specifying RTP (streaming) codec involved.

Code:
pi@rp2:/media/VFAT128/Test_mixed/This Is Happening $ mediainfo 09\ Home.m4a
General
Complete name                            : 09 Home.m4a
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/isom)
File size                                : 19.8 MiB
Duration                                 : 7 min 53 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 351 kb/s
Album                                    : This Is Happening
Album/Performer                          : LCD Soundsystem
Track name                               : Home
Track name/Position                      : 9
Track name/Total                         : 9
Performer                                : LCD Soundsystem
Genre                                    : Electronica/Dance
Recorded date                            : 2010
Encoded date                             : UTC 2010-03-29 19:53:19
Tagged date                              : UTC 2012-08-14 08:06:42
Writing application                      : iTunes v4.0, QuickTime 6.3
Cover                                    : Yes

Audio
ID                                       : 1
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 7 min 53 s
Source duration                          : 7 min 53 s
Bit rate mode                            : Variable
Bit rate                                 : 316 kb/s
Maximum bit rate                         : 373 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 17.8 MiB (90%)
Source stream size                       : 17.8 MiB (90%)
Language                                 : English
Encoded date                             : UTC 2010-03-29 19:53:19
Tagged date                              : UTC 2012-08-14 08:06:42

Other
ID                                       : 2
Type                                     : Hint
Format                                   : RTP
Codec ID                                 : rtp
Duration                                 : 7 min 53 s
Language                                 : English
Default                                  : No
Encoded date                             : UTC 2010-03-29 19:53:19
Tagged date                              : UTC 2010-03-29 19:53:20
Source duration                          : 473339
Source frame count                       : 20213
Source stream size                       : 1299136
Stream size                              : 1299136
Bit rate mode                            : VBR

# MPD log showing timescale error

Code:
pi@rp2:/media/VFAT128/Test_mixed/This Is Happening $ tail /var/log/mpd/log
Jun 04 08:55 : update: added USB/VFAT128/Test_mixed/This Is Happening/01 Dance Yrself Clean.m4a
Jun 04 09:04 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set

# MPD verbose log showing tons of Decoding Timestamp (dts) issues

Code:
pi@rp2:/media/VFAT128/Test_mixed/This Is Happening $ mpc play
LCD Soundsystem - Dance Yrself Clean
[playing] #74/82   0:00/8:58 (0%)
volume:  0%   repeat: off   random: off   single: off   consume: off
pi@rp2:/media/VFAT128/Test_mixed/This Is Happening $ tail -f /var/log/mpd/log
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 1, sample 396, dts 11586757
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 543, dts 12608435
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 1, sample 396, dts 11586757
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 543, dts 12608435
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 1, sample 397, dts 11609977
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 544, dts 12631655
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 1, sample 397, dts 11609977
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 544, dts 12631655
.
.
.

You could try converting the files to FLAC or some other format using an appropriate utility and see if the issues go away.

-Tim
Reply
#25
Tim beat me to it.

Two of the nine tracks contain 4 'objects', the rest 2 as Tim remarked.

The different contents cause the file command to sees your tracks differently from the way it sees my test files.

Example,


Code:
pi@moodeY:/mnt/SDCARD/This Is Happening $ file 01*
01 Dance Yrself Clean.m4a: ISO Media, MP4 v2 [ISO 14496-14]

vs

Code:
pi@moodelr:/media/MUSIC/SampleTracks/Hyperion/Orchestral $ file 18*M4A
18 MacCunn The Lay of the Last Minstrel - Part 2 Final chorus O Caledonia! stern and wild.M4A: ISO Media, Apple iTunes ALAC/AAC-LC (.M4A) Audio


What I'm seeing doesn't mean your files are incorrect from an MPEG4 container point of view, only that they are different in structure from what I'm familiar with. The metadata editor AtomicParsley, for example, has no problem reading and parsing all the 'atoms' in these files and as you've observed, the coverart is viewable in other tools.

I agree with Tim that attempting to convert these tracks is probably the most expedient thing to do next.

Regards,
Kent
Reply
#26
(06-04-2021, 02:23 PM)Tim Curtis Wrote: The m4a files in the download you provided definitely crash the thumbnail generator and also cause tons of errors in MPD log when playing. This suggests some sort of issue resulting from the way they were created/ripped.

Note that the iTunes M4A files that I have in my test collection, both in AAC and ALAC format work fine with thumbnail generator and MPD. No errors whatsoever. They were all created in iTunes or provided by users who created or downloaded them via iTunes.

Here's some analysis showing the various issues in the files you provided.

# Detail logging from thmcache.php showing no further logging after attempting to process Home.m4a. This indicates thmcache.php either hangs or crashes.

Code:
20210604 090114 thmcache: path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/steve/Misc/08 Church Of Flames.mp3
20210604 090114 thmcache: path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/the_bertrum/Julia-Sophie - 3/Julia-Sophie - -3 - 04 love let you down.flac
20210604 090114 thmcache: path: /var/lib/mpd/music/USB/VFAT128/Test_mixed/This Is Happening/09 Home.m4a
c^C

# Mediainfo output showing an "Other" block present in the file specifying RTP (streaming) codec involved.

Code:
pi@rp2:/media/VFAT128/Test_mixed/This Is Happening $ mediainfo 09\ Home.m4a
General
Complete name                            : 09 Home.m4a
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/isom)
File size                                : 19.8 MiB
Duration                                 : 7 min 53 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 351 kb/s
Album                                    : This Is Happening
Album/Performer                          : LCD Soundsystem
Track name                               : Home
Track name/Position                      : 9
Track name/Total                         : 9
Performer                                : LCD Soundsystem
Genre                                    : Electronica/Dance
Recorded date                            : 2010
Encoded date                             : UTC 2010-03-29 19:53:19
Tagged date                              : UTC 2012-08-14 08:06:42
Writing application                      : iTunes v4.0, QuickTime 6.3
Cover                                    : Yes

Audio
ID                                       : 1
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 7 min 53 s
Source duration                          : 7 min 53 s
Bit rate mode                            : Variable
Bit rate                                 : 316 kb/s
Maximum bit rate                         : 373 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 17.8 MiB (90%)
Source stream size                       : 17.8 MiB (90%)
Language                                 : English
Encoded date                             : UTC 2010-03-29 19:53:19
Tagged date                              : UTC 2012-08-14 08:06:42

Other
ID                                       : 2
Type                                     : Hint
Format                                   : RTP
Codec ID                                 : rtp
Duration                                 : 7 min 53 s
Language                                 : English
Default                                  : No
Encoded date                             : UTC 2010-03-29 19:53:19
Tagged date                              : UTC 2010-03-29 19:53:20
Source duration                          : 473339
Source frame count                       : 20213
Source stream size                       : 1299136
Stream size                              : 1299136
Bit rate mode                            : VBR

# MPD log showing timescale error

Code:
pi@rp2:/media/VFAT128/Test_mixed/This Is Happening $ tail /var/log/mpd/log
Jun 04 08:55 : update: added USB/VFAT128/Test_mixed/This Is Happening/01 Dance Yrself Clean.m4a
Jun 04 09:04 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set

# MPD verbose log showing tons of Decoding Timestamp (dts) issues

Code:
pi@rp2:/media/VFAT128/Test_mixed/This Is Happening $ mpc play
LCD Soundsystem - Dance Yrself Clean
[playing] #74/82   0:00/8:58 (0%)
volume:  0%   repeat: off   random: off   single: off   consume: off
pi@rp2:/media/VFAT128/Test_mixed/This Is Happening $ tail -f /var/log/mpd/log
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 1, sample 396, dts 11586757
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 543, dts 12608435
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 1, sample 396, dts 11586757
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 543, dts 12608435
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 1, sample 397, dts 11609977
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 544, dts 12631655
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 1, sample 397, dts 11609977
Jun 04 09:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 544, dts 12631655
.
.
.

You could try converting the files to FLAC or some other format using an appropriate utility and see if the issues go away.

-Tim
 Thanks Tim,

  I am in the process of re-converting the files that do not show the work art to FLAC: I will let you know how this goes Wink
Reply
#27
"I am in the process of re-converting the files that do not show the work art to FLAC: I will let you know how this goes [Image: wink.png]"

That isn't necessary or recommended (by me).  I have thousands of AAC and ALAC files that all work fine and display artwork, and almost all were created using XLD.

One of the problems with FLAC is that its tagging ("FLAC tags" are also called "Vorbis comments") is so loosey-goosey, with no set of standard, minimum, or required tags.  By contrast, AAC/ALAC tagging is quite well defined by Apple.  

I think that it would be better to fix the files than just convert them to some other format.
Cheers,
  Miss Sissy Princess
Reply
#28
...and I can match your thousands of AAC and ALAC files with my thousands of FLAC files from a variety of sources, ripping tools and metadata editors. They all play fine and display cover art in moOde. Big Grin

How would you suggest the OP "fix" his .m4a files?

Regards,
Kent
Reply
#29
@Miss Sissy Princess 
The FLAC specification looks quite complete to my eyes.
https://xiph.org/flac/format.html
https://xiph.org/vorbis/doc/v-comment.html

FLAC codec and associated utilities from xiph.org are IME the most widely used in Linux audio precisely because of their high quality implementations, efficient algorithms and well defined specifications.

ALAC is typically only found in collections where iTunes is or was used. Even after Apple released the ALAC specification back in 2011 as Open Source the adoption rate has been almost nil in the Linux audio community because FLAC has been in use since 2001 and was already a proven winner with high quality implementations, speed, efficiency and metadata support.

Oddly Apple still does not support FLAC in the iTunes / Apple Music eco system while most Linux audio players support a wide variety of formats including ALAC.
Reply
#30
(06-04-2021, 10:54 PM)Tim Curtis Wrote: @Miss Sissy Princess 
The FLAC specification looks quite complete to my eyes.
https://xiph.org/flac/format.html
https://xiph.org/vorbis/doc/v-comment.html

FLAC codec and associated utilities from xiph.org are IME the most widely used in Linux audio precisely because of their high quality implementations, efficient algorithms and well defined specifications.

ALAC is typically only found in collections where iTunes is or was used. Even after Apple released the ALAC specification back in 2011 as Open Source the adoption rate has been almost nil in the Linux audio community because FLAC has been in use since 2001 and was already a proven winner with high quality implementations, speed, efficiency and metadata support.

Oddly Apple still does not support FLAC in the iTunes / Apple Music eco system while most Linux audio players support a wide variety of formats including ALAC.

Just a quick update: I went through my collection and found 1%-2% missing art work, mostly in AIFF files, even if most were fine. After the conversion, I only have a handful of issues out of hundreds of albums, and all for different reasons that I am solving now Wink
Reply


Forum Jump: