Thank you for your donation!


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


Flac errors in system info, moode 5
#1
Any one explain the following flac errors I am getting in moode 5.0, using Audiophonics ES9038Q2M (pre 2019) driver?

20190419 135719 worker: Ready
   20190419 140141 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140141 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140141 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140141 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140316 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140316 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140316 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140316 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140322 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/HiRes/AcDc - Rock or Bust (2014) (24-96)/01-Rock or Bust.flac
   20190419 140322 coverart: flac: Zend media exception: Unknown field: _identifier
Reply
#2
(04-19-2019, 01:28 PM)kit1cat Wrote: Any one explain the following flac errors I am getting in moode 5.0, using Audiophonics ES9038Q2M (pre 2019) driver?

20190419 135719 worker: Ready
   20190419 140141 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140141 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140141 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140141 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140316 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140316 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140316 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140316 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140322 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/HiRes/AcDc - Rock or Bust (2014) (24-96)/01-Rock or Bust.flac
   20190419 140322 coverart: flac: Zend media exception: Unknown field: _identifier

Zend is saying it's find a VORBIS_COMMENT field with the name _identifier which it doesn't recognize. I believe it just ignores such fields so this error message should be harmless.

I use metaflac to examine metadata in FLAC files. It comes as part of the raspbian package "flac"

Code:
pi@moode:~ $ sudo apt-get install flac
...

Then to read the metadata (which are encoded in FLAC as comments in a VORBIS_COMMENT block):

Code:
pi@moode:/mnt/NAS/OMV-NFS/Greg Harrison Jazz Band - Volume 2 $ metaflac --list --block-type=VORBIS_COMMENT 01*
METADATA block #1
 type: 4 (VORBIS_COMMENT)
 is last: false
 length: 528
 vendor string: reference libFLAC 1.3.2 20170101
 comments: 16
   comment[0]: AccurateRipResult=AccurateRip: Not in database   Secure: Yes   [DE31CA7C]
   comment[1]: AccurateRipDiscID=017-002cf4e2-0239ffbf-e010d511-1
   comment[2]: Source=CD (Lossless)
   comment[3]: CDDB Disc ID=E010D511
   comment[4]: Encoded By=dBpoweramp Release 16.4
   comment[5]: Encoder=(FLAC 1.3.2)
   comment[6]: Encoder Settings=-compression-level-5
   comment[7]: TRACKTOTAL=17
   comment[8]: DISCTOTAL=1
   comment[9]: TITLE=Way Down Yonder in New Orleans
   comment[10]: ALBUM=Greg Harrison Jazz Band - Volume 2
   comment[11]: GENRE=Jazz
   comment[12]: ALBUMARTIST=Greg Harrison
   comment[13]: DISCNUMBER=1
   comment[14]: DATE=2004
   comment[15]: TRACKNUMBER=1

Do you see anything like _identifier in your metadata?

Regards,
Kent

PS - Irrelevant bit of trivia: Greg Harrison is a friend of mine. Love his throwback Dixieland jazz style. He was mentored by Pete Fountain in New Orleans and plays a clarinet Pete gave him.

===ADDED IN POST EDIT===

I just noticed that your errors are popping up in the context of coverart. You may want to try running metaflac with only the --list option and not the --block-type option. It will list all the blocks. Be prepared for lots of hex output if you have embedded coverart.

For example, if I do this on the same file

Code:
pi@moode:/mnt/NAS/OMV-NFS/Greg Harrison Jazz Band - Volume 2 $ metaflac --list 01*
<<same output as above followed by>>
METADATA block #2
 type: 6 (PICTURE)
 is last: false
 length: 165475
 type: 3 (Cover (front))
 MIME type: image/jpeg
 description:
 width: 479
 height: 491
 depth: 24
 colors: 0 (unindexed)
 data length: 165433
 data:
   00000000: FF D8 FF E1 1F 5C 45 78 69 66 00 00 4D 4D 00 2A .....\Exif..MM.*
   <<yada yada yada>>
   00028630: F7 EF 2E AC 78 8E BF FF D9 00 00 00 00 00 00 00 ....x....      
METADATA block #3
 type: 1 (PADDING)
 is last: true
 length: 4044
Reply
#3
(04-19-2019, 01:28 PM)kit1cat Wrote: Any one explain the following flac errors I am getting in moode 5.0, using Audiophonics ES9038Q2M (pre 2019) driver?

20190419 135719 worker: Ready
   20190419 140141 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140141 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140141 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140141 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140316 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140316 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140316 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/Flac/Black Sabbath - Paranoid/03  Planet Caravan.flac
   20190419 140316 coverart: flac: Zend media exception: Unknown field: _identifier
   20190419 140322 coverart: flac: /var/lib/mpd/music/NAS/ZyXEL/HiRes/AcDc - Rock or Bust (2014) (24-96)/01-Rock or Bust.flac
   20190419 140322 coverart: flac: Zend media exception: Unknown field: _identifier

Those flac files contain a bad metadata block and this will prevent any embedded cover art from being extracted.

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
Thanks for info guys, strange I never noticed this problem before.

Is there a check in moode 5 picking this up that was not present in earlier versions of moode?

I tried deleting/replacing the embedded cover art in a couple of the albums but I am still getting the same problem.

I use mp3tag for windows to tag/check my albums. Any suggestions?

Thanks
Reply
#5
It might not be the cover art but some other part of the metadata block.

Yes, there is a bit more error logging in the cover art routine. Better to at least have an error message logged when embedded cover does not appear.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
Thanks Tim, I have both embedded cover art and folder.jpg in the album folder and never really had a problem displaying cover art.

I will try completely re-tagging a couple of albums and see if that makes a difference.
Reply
#7
(04-19-2019, 06:59 PM)kit1cat Wrote: Thanks Tim, I have both embedded cover art and folder.jpg in the album folder and never really had a problem displaying cover art.

I will try completely re-tagging a couple of albums and see if that makes a difference.

I was hoping metaflac might tell you if *any* of the FLAC blocks are broken. FLAC files consist of blocks, with each block type containing different information, including, of course, your audio stream. See https://xiph.org/flac/format.html.

Another command-line tool in the flac package is, you guessed it, flac. Among its options is '-t' or '--test'. The man page says the action for this option is "Test a flac encoded file". I always assumed this tested only the encoded stream, which has a builtin checksum. I don't have any corrupted files like yours so I can't say if it tests all blocks.

Good luck.

Regards,
Kent
Reply
#8
(04-19-2019, 07:38 PM)TheOldPresbyope Wrote:
(04-19-2019, 06:59 PM)kit1cat Wrote: Thanks Tim, I have both embedded cover art and folder.jpg in the album folder and never really had a problem displaying cover art.

I will try completely re-tagging a couple of albums and see if that makes a difference.

I was hoping metaflac might tell you if *any* of the FLAC blocks are broken. FLAC files consist of blocks, with each block type containing different information, including, of course, your audio stream. See https://xiph.org/flac/format.html.

Another command-line tool in the flac package is, you guessed it, flac. Among its options is '-t' or '--test'. The man page says the action for this option is "Test a flac encoded file". I always assumed this tested only the encoded stream, which has a builtin checksum. I don't have any corrupted files like yours so I can't say if it tests all blocks.

Good luck.

Regards,
Kent

Hi Kent, managed to install metaflac on my pi, can't for the life of me work out how to mount my NAS drive, took me ages to get it to work in moode.

In moode it shown has ZyXEL(192.168.1.144) but I need to manually enter 192.168.1.144/Music to get moode to recognize it.

Windows maps it as  music (\\NSA310) (YSmile


I have removed all tags, embedded art and folder.jpg from the Black Sabbath album, leaving just the file names, but the errors are still showing.

Looks like the only answer to this problem is to get a fresh copy.

Thanks
Reply
#9
(04-20-2019, 01:51 PM)kit1cat Wrote:
(04-19-2019, 07:38 PM)TheOldPresbyope Wrote:
(04-19-2019, 06:59 PM)kit1cat Wrote: Thanks Tim, I have both embedded cover art and folder.jpg in the album folder and never really had a problem displaying cover art.

I will try completely re-tagging a couple of albums and see if that makes a difference.

I was hoping metaflac might tell you if *any* of the FLAC blocks are broken. FLAC files consist of blocks, with each block type containing different information, including, of course, your audio stream. See https://xiph.org/flac/format.html.

Another command-line tool in the flac package is, you guessed it, flac. Among its options is '-t' or '--test'. The man page says the action for this option is "Test a flac encoded file". I always assumed this tested only the encoded stream, which has a builtin checksum. I don't have any corrupted files like yours so I can't say if it tests all blocks.

Good luck.

Regards,
Kent

Hi Kent, managed to install metaflac on my pi, can't for the life of me work out how to mount my NAS drive, took me ages to get it to work in moode.

In moode it shown has ZyXEL(192.168.1.144) but I need to manually enter 192.168.1.144/Music to get moode to recognize it.

Windows maps it as  music (\\NSA310) (YSmile


I have removed all tags, embedded art and folder.jpg from the Black Sabbath album, leaving just the file names, but the errors are still showing.

Looks like the only answer to this problem is to get a fresh copy.

Thanks

Can you post a track somewhere and PM the link to me?

I don't know how you got or created these tracks in the first place. If you ripped them yourself then getting a fresh copy may simply get you the same result.

As for mounting your NAS, using the <IP>/<dir> form is perfectly acceptable and works even when your DNS isn't up to the job [that's a subject of its own]. Once it's mounted, you should see your tracks under /mnt/NAS/<whatever you chose as a friendly name for this NAS source>/

Regards,
Kent
Reply
#10
Hi Kent, I could zip up a couple of tracks and send them to you, if you PM me your email address. Thanks
Reply


Forum Jump: