Hello, and thank you for your work on XLD.
Description of the issue
After batch transcoding from FLAC to mp3, some metadata fields in the resulting files are empty (genre, year, disc number), and/or the formatting has changed (track number xx/xx instead of xx).
Only entire albums are affected, not individual tracks (i.e. all tracks on the same album will be missing the same data).
Reproductibility / steps
Expected result & additional info :
With "Automatically connect to CDDB" unchecked, I would expect metadata fields in the destination mp3 files to be identical to the corresponding fields in the source FLAC files.
In practice, another data source seems to take precedence, and fields values are removed.
My process is:
I also suspect that the change in formatting of the track number filed is a separate issue: is xld always writing this specific ID3 field using that formatting ?
I use XLD 20220917 (155.1) on a M1 MBP running macOS 12.3.1.
Thanks !
I guess you are transcoding files using a cue sheet, and the metadata gets overwritten by the entries in the sheet. You can do it without the cue sheet, just drag and drop all .flac files (without .cue) to XLD icon.
Thanks for your answer; sorry I did not think of that.
You are indeed correct: I batch transcode multiple directories (each containg a cue sheet) by selecting the parent folder with File>Open.
Will test this and report back, and also check if it causes the formatting change of the track field.
In that case the option "Restrict files to open with extension" will be useful - including "flac"and excluding "cue" in the list and XLD will skip all .cue files in the folders.
I have always used
Restrict files to open with extension, with onlyflacin the field below, so the issue described remains valid despite this parameter.If you are telling me I should also explicitly exclude cue files (by other means than NOT having it in the field), how do I do that:
-cue?Last edit: Nicolas 2022-09-28
No you don't have to exclude it explicitly.
Now I want to clarify how you ripped discs - one file per album or one file per track?
One album = one folder;
One track = one flac file;
Log file and cue sheet are set to always saved, but I will change this as it serves no useful purpose and creates issues.
What happens when you transcode only one file? The problem still there?
I just tested batch transcoding one album and transcoding only one track; see attached screenshot for results.
In essence year field was stripped in both cases despite peing present in original, and track formatting was changed in both cases.
Will test again with other files and report if something new.
I'll look into the issue if you can upload the problematic file somewhere.
I performed other tests - it gets weird.
Concentrating only on year field and all else being equal, this happens during transcoding:
This is where it gets weird: if I move the original file to a separate, random folder with no cue sheet and then transcode it, the year value is still the same as in cue sheet, not the source file. This would suggest that there is yet another source of metadata that takes precedence over original file.
See attached screenshot.
Files used in both tests + cue sheets are available for download here : (removed)
Formatting of track# and disc# fields are changed in all cases.
Thank you for your time.
Last edit: Nicolas 2022-09-28
The problem is how your tag editor writes FLAC metadata.
The tag editor you used adds year metadata to "YEAR" field, but this is non-standard. It should be added to "DATE" field in FLAC (which uses vorbiscomment, for standard see here and here). The editor seems to ignore the "DATE" field when updating the year metadata even if the field already exists. As a result, both standard and non-standard fields exist in the edited FLAC file.
Since non-standard fields are ignored when transcoding to mp3 with XLD, the problem - metadata of source FLAC files look good but resulting mp3 files look having non-updated values - happens.
The same issue happens when adding track number metadata. Your tag editor uses "TRACK" field but "TRACKNUMBER" field should be used according to the standard.
As far as I've checked the files you sent, there is no difference except cover art metadata in your
transcoded - single file in folder not containing cue sheet.mp3vstranscoded - single file in folder containing cue sheetvstranscoded - entire folder containing cue sheet.mp3.Here is an output of
metaflaccommand ofgong - 01 other side of the sky.flac:You can see inconsistency
comment[1]: TRACKNUMBER=1andcomment[16]: TRACK=01, orcomment[4]: DATE=1990andcomment[15]: YEAR=1973.Thanks for getting to the bottom of this, and for the detailed answer which is both useful and interesting. Sorry I dumped someone else's mess in your lap, I wasn't aware that there could be inconsistencies in fields mappings.
I'll bring this to the attention of the editor's developer.