Thank you for your donation!


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


thumb-gen error
#1
This is output from /var/log/moode.log during a music library regeneration.

I get a few of these.

20240728 144730 thumb-gen: Error: Not a valid FLAC bitstream:  .....

Oddly the last file in the directory.

I checked the offending files using Lossless Audio Checker and they appear to be ok.
They play fine.   Any clues?

Might be a bug in thumb-gen ?
Reply
#2
Zip up one of the files and PM a download link to myself, @TheOldPresbyope and @Nutul. One of us will analyze the file and post back.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
@errcl65 

I was about to post my guess about your file when your PM popped up. Sure enough, it's what I guessed. You have an ID3 tag stuck on the front end of a legitimate FLAC file. This commonly happens when folks use tools like mp3tag without looking at their default settings.

Here's what I get when I run the 'file' command on your file


Code:
xxxx@T520:~/Downloads$ file '19. Waterloo.flac'
19. Waterloo.flac: Audio file with ID3 version 2.4.0, contains:FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 7311780 samples


Although many music players manage to look past the tag, it violates the FLAC specification.


Here's what you should see instead (this with the Stereo Test file which is provided with moOde installs)


Code:
rho@purple:/mnt/SDCARD/Stereo Test $ file LRMonoPhase4.flac
LRMonoPhase4.flac: FLAC audio bitstream data, 16 bit, stereo, 48 kHz, 1860560 samples

Regards,
Kent
Reply
#4
I did a 'file' on all their other files in the same directory. They had the same Audio file with ID3, but did not
show up with a thumb-gen warning in the moode.log.
Reply
#5
(07-28-2024, 08:44 PM)errcl65 Wrote: I did a 'file' on all their other files in the same directory.   They had the same Audio file with ID3, but did not
show up with a thumb-gen warning in the moode.log.

The thumbnail generator only looks at the last file in an Album directory for an embedded cover.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: