Paul A
I have a lot of CDs that I buy direct from local bands so not usually on any database. I rip the album as Album NNN artist Unknown. In the Web UI I go and rename the album and specify the artist.
Sometimes the album/artist is propagated to each track file metadata and sometimes it isn't. 
Without the updated metadata on the files the Sonos music library doesn't index correctly. So while indexing and browsing using the B2 index is fine when viewing via Sonos it's wrong. It's driving me crazy. It's seems inconsistent or put another way a bit flaky/buggy.
JFBUK (John)
Hi Paul,
 
Are you ripping and compressing to FLAC orMP3  or leaving as WAV ?
Reply 0 0
Paul A
I have it set to compress to Flac. Maybe the metadata is written at compression ? So if I rip and don't update until later (after compression) it doesn't happen ???
Is there a way to fix the albums that are missing the metadata ?
Reply 0 0
MarkF
I have a lot of CDs that I buy direct from local bands so not usually on any database. I rip the album as Album NNN artist Unknown. In the Web UI I go and rename the album and specify the artist.
Sometimes the album/artist is propagated to each track file metadata and sometimes it isn't. 
Without the updated metadata on the files the Sonos music library doesn't index correctly. So while indexing and browsing using the B2 index is fine when viewing via Sonos it's wrong. It's driving me crazy. It's seems inconsistent or put another way a bit flaky/buggy.
The B2 is not inconsistent. *You* are inconsistent. Here's how it works:
When the B2 rips a CD, the audio that is on the CD as 16-bit words, 44.1ksps, 2-channel, PCM is put into WAV files. These files have no internal metadata apart from the track number.
When the B2 compresses the WAV files (to FLAC or MP3), it takes the name of the Artist folder (even if that is "Unknown") and puts that name into the "Artist" tag in the compressed file. It takes the name of the Album folder (even if that is "Unknown") and puts that name into the "Album" tag in the compressed file. It takes the name of the Track file (even if that is "Track nn") and puts that name into the "Title" tag in the compressed file. 
 
If you edit the Artist and Album  and Tracks before compressing the WAV files, then your edits are what go into the internal metadata. If you let the B2 compress the files before you do the edits, then the "Unknown" values are in the tags, and the tags are not updated with your later changes to folder and file names.
 
So, apparently, sometimes you make your changes before compression, and sometimes you make your changes after compression. The B2 always uses the values that it has at compression time. Hence my statement that it is you, not the B2, that is inconsistent.
 
Here's my suggestion: change your B2's compression type to None. Then newly ripped CDs will remain as WAV until you decide that you've made all your changes, at which time you can set Compression back to FLAC, or MP3, or whatever you use.
Reply 0 0
JFBUK (John)
Yes,  the compression process to FLAC is what writes the metadata to the track file. The B2 is limited in what metadata it creates, only the artist, album, and track name plus album art when available.
To add metadata you will need run tagging software such as MP3Tag or MusicBrainz Picard on a computer and access your B2 content via NAS.
Several people have good experience with these and other tagging  packages so just shout if you need more guidance.
Reply 0 0
Paul A
Thanks for the explanation at least I understand what is happening.  From a user (paying customer) viewpoint the B2 is inconsistent. I always do the same thing, but may vary the time between ripping and editing.
Reply 0 0
MarkF
From a user (paying customer) viewpoint the B2 is inconsistent. I always do the same thing, but may vary the time between ripping and editing.
Chacun a son gout. I also am a paying customer, and I see it the other way around. I can't change how the B2 operates, but I can change how I operate. Preventing compression by setting it to None temporarily seems a workable compromise.
 
To add metadata you will need run tagging software such as MP3Tag or MusicBrainz Picard on a computer and access your B2 content via NAS.
I thought it might be useful to replicate a post I had done on the old forum about using mp3tag to update or create tags based on folder and filenames I had already corrected to my liking. Here it is:
 
Just an example, using mp3tag:
I have an album named "The Berlin Recital" by pianist Yuja Wang. I open the album folder (NOT the artist folder!) in mp3tag, select a track, and click on the "filename to tag" icon in the toolbar. Then I use the format string
%artist%\%album%\%track% (%composer%) %title%
as shown in the image below. The dialog box should show what will happen when I click "OK".
mp3tag-folder2tag.png
 
If I had selected *all* the files in that folder, they'd all get tagged with the same pattern, i.e., each file would get tags for artist, album, track number, composer, and track title. Of course, the filenames have to have had that pattern to begin with (mine do).
So, if your folder names and track names are now what you want, it won't matter what is in CDDB, or MusicBrainz, or Discogs: that's not where you would have to get your tags. You can use the names you've already corrected.
 
Reply 0 0
Ray J Dion ray
Paul A, welcome to the forum.
Respectfully, the B2 is very consistent.
When it converts WAV to FLAC (or MP3) it will use the directory structure (artist/album) to set the metadata to those values. It will also use the track number that is in the WAV tag and as the first part of the track name. This is the ONLY time the B2 touches or uses metadata stored in the file. The only exception is the coverart. If a coverart metadata tag exists, the B2 will display it on the WebUI or APP.
 
The thing here is that the B2 if left on defaults will start compressing WAV files after being idle for 5 minutes. If you waited as little as 30 minutes between the rip and the rename during which the B2 went to idle, the red LED will start flashing and compression occurs.  So don't go out to lunch and leave it idle during a rip session.
 
If you change the name after the compression occurs, metadata is not changed by the B2, ever.
 
So what you could do is turn compression OFF until you have changed all of the new unknown files to what you want. That means ALL of them. Then turn compression back on and let it rip (pun intended).
 
So for those that will disagree with my statement that at least one tag is in the WAV file.
# ffmpeg -i 06\ A\ Little\ Good\ News.wav
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3.0 (Buildroot 2021.02-1-g01e06ddec4)
<snip the comical amount of build and configuration data>
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from '06 A Little Good News.wav':
Metadata:
track : 6
Duration: 00:03:08.53, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
At least one output file must be specified
 
This is the output on a WAV files ripped on the B2. I use ffmpeg to read the data and deliberately do not include output so the error occurs but it does read the metadata first.
 
Here is a similar output to a file I downloaded when I was testing UAC1 and UAC2
# ffmpeg -i Sample_BeeMoved_96kHz16bit.wav
ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7.4.0 (Buildroot 2019.05.1)
<again Snip comical amount of configuration data>
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'Sample_BeeMoved_96kHz16bit.wav':
Metadata:
album : Bee Moved
title : Bee Moved
artist : Blue Monday FM
Duration: 00:00:39.88, bitrate: 3083 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 96000 Hz, stereo, s16, 3072 kb/s
At least one output file must be specified
 
I am not saying that the Brennan's use this metadata, I think they use the filename because you can change the final result by changing the filename. Only saying that the track number is embedded in the WAV file.
 
Ray
B3 is playing Wrapped Around Your Finger by The Police
Reply 0 0
Daniel Taylor
Or... you could avoid having to understand and keep track of all that, and just rip on your computer where you have total control of naming files and folders and what information gets written to your preferred metadata tags; then Import onto the Brennan.  Some of us do exactly that.  I use dBpoweramp CD Ripper; it's a great program, and I feel it's worth the $50 price.
Reply 0 0
Reply