03-21-2024, 10:56 PM
Thank you for your donation!
Library loading fails
|
03-21-2024, 10:59 PM
(This post was last modified: 03-22-2024, 01:55 AM by TheOldPresbyope.
Edit Reason: corrected my error in describing the ID3v2 tag placement
)
@Gustav752
You said Quote:BTW for tagging I usually use mp3tag in default mode. There's a lot of nice things to say about Mp3tag (I have a copy myself; even made a financial donation just as I do for moOde). It's great that it can tag FLAC formatted files among many others. However, the FLAC specification says specifically that FLAC files shall be tagged using a VORBIS COMMENT block only. Mp3tag can read and will populate a VORBIS COMMENT block but *by default* it also appends an ID3V2 tag at the end beginning of the file along with a special marker at the beginning of the file so the file no longer begins with the signature "fLaC" characters and the flac-encoded audio begins after the ID3v2 tag. Some programs can cope with this, some can't. Either way, the result violates the FLAC specification. When tagging FLAC files with Mp3tag, go to the Tools>Options>Tags>Mpeg and disable writing of ID3v1, IDEv2, and APEv2 tags. Back in the view panel, for FLAC files the Tag column should display FLAC (FLAC). [Full disclosure: I haven't ripped any tracks in more than a year and may be mis-remembering some of these details.] Can't comment on the original "Library loading fails" issue. I'd have to create a test library to see if mal-tagging is to mal-tagging and I have other things to do ATM. Regards, Kent ETA - I post-edited this message to correct my error in describing where the ID3v2 tag is placed. I was working from memory and mixing up ID3v1 and IDv2.
03-21-2024, 11:02 PM
Hard to say what might be going on.
Couple things to try: 1. Open the Web Browser Javascript console and look for errors when switching to Tag or Album view. 2. Zip up some of the FLAC files and PM a download link to Myself, @Nutul and @TheOldPresbyope. One of us will see if we can reproduce any errors or no covers.
03-22-2024, 12:40 AM
Many thanks for your help so far.
I am not the greatest computer expert but I have the feeling that the "not valid bitstream" error messages are maybe not the cause but an effect of the problem. Just checked the SD card. The 32GB card contains a FAT32 partition called "boot" sized 268MB of which 37,8MB is used. The remaining 31,6GB are unformatted. To my layman's mind, that seems to be very little. Could it be that the partition is simply too small for storing my not exactly small metadata library? I have not found any information in the Moode documentation on when and how to expand the boot partition. I used the Pi imager und followed your setup guide for creating the card.
03-22-2024, 09:32 AM
(03-21-2024, 10:10 PM)Gustav752 Wrote: @Nutul I have no other reason for the thumbnail extractor to fail. I remember in the past also DSD files (which use id3v2.x tag too) failed with the same error because the id3v2 library extractor expect such tag (as is found in MP3s) at offset 0 in the file, while DSDs have such offset written in their header, but the library wasn't aware... Try to retag correctly, using Vorbis Comment to one album (that is, all its files...) and do a rescan of the thumbnails (and also clear the browser's cache...) and see if that results in a fix.
03-22-2024, 12:46 PM
(03-22-2024, 12:40 AM)Gustav752 Wrote: Many thanks for your help so far. The uSD card has two partitions: bootfs and rootfs. Bootfs contains the system boot files and firmware and is formatted as VFAT (Fat32) which is visible in most OS's. Rootfs contains RaspiOS, moOde and any song files copied directly to it. It's formatted as Ext4 which is only viewable in Linux. Code: pi@moode-test2:~ $ sudo blkid -o list The rootfs partition is automatically expanded to the size of the uSD card at first boot. Partition sizes and disk space usage can be viewed using the commands below. Disk usage is also printed in moOde System info. Code: pi@moode-test2:~ $ lsblk Code: pi@moode-test2:~ $ df -h
03-22-2024, 02:25 PM
@Gustav752
On the matter of tagging FLAC files: I don't recall if I ever found a convenient way to mass-edit FLAC files to remove an ID3V2 tag and, if necessary, write the same metadata into a VORBIS COMMENT block. I also don't know what useful Tagging tools besides Mp3tag exist for MacOS. I work in Linux and there are quite a few choices (I run the Windows Mp3tag.exe in PlayOnLinux/Wine). When I was still ripping CDs I found MusicBrainz Picard to be useful for tagging all the tracks in an album. If I had to fix a lot of mis-tagged FLAC files today, I'd probably first write a Python program to automate the process, taking advantage of the wonderful Mutagen module. You may find this old thread on the "MP3TAG Community" board useful if you choose to use Mp3tag on a file-by-file basis: Removing ID3 tags from FLAC files. Regards, Kent
03-23-2024, 11:25 AM
It's been a long time since I tried, but if you have MP3TAG set to not put ID3 tags into FLAC files, then selecting all the files you want to fix, then CTRL+X (cut) followed by CTRL-V (paste) will sort it out.
At least it did about 3 years ago when I did it on my collection.
----------------
Robert
03-23-2024, 02:43 PM
(03-23-2024, 11:25 AM)the_bertrum Wrote: It's been a long time since I tried, but if you have MP3TAG set to not put ID3 tags into FLAC files, then selecting all the files you want to fix, then CTRL+X (cut) followed by CTRL-V (paste) will sort it out. Nice. Obviously my memory is worse than yours Regards, Kent
03-24-2024, 02:59 PM
Update:
In the meantime I cleaned the library from all ID3 infected FLAC files. With the help of a friend knowing Linux I scanned the library via SSH and then deleted all ID3 entries from FLAC files with mp3tag. Only about 100 albums where affected so it was possible to do this by hand without looking for more complicated batch solutions. Moode works now as expected. Thank you very much for putting me on the right track! Still, I'm a bit confused because this problem mainly affected old rips that were made a long time ago and worked fine with older Moode versions. It seems Moode changed the handling of FLACs with ID3 tags sometime in the last 18 months. |
« Next Oldest | Next Newest »
|