I recently found that one of the programs in my tagging chain must be messing up something—more and more files appear that have more than one YEAR or GENRE field, when they should have only one.
I need to diagnose and find the fault quickly, otherwise I’ll probably mess up even more files when correcting.
My first idea was to use a new column containing something like
$if($strstr($meta_sep(%_tag%,||),||),Multiple Tags!,Okay)
(using || as a separator since this will not exist in my normal files)
but apparently
- $meta_sep() uses tag names without the % (Why?)
- names like %_tag% or _TAG cannot be used
(…without building an endless chain of all known tags in the world?)
EDIT: I wonder. Just cross-checked using metamp3 and the file seems not to have a second TYER tag. Could it be a bug in Mp3tag (v2.42b)?
ID3v2.3 tags:
TALB: Kein Blick zurück (disc 2)
TPE1: Blind
TBPM: 162
COMM: []{eng}: Release Date: 2006-12-08
TCON: Gothic Rock
TCMP: 1
TORY: 2006
TIT2: Ave Maria
TRCK: 1/8
UFID: , 36 bytes
TYER: 2006
TXXX: [MusicIP PUID]: 7f327602-51f0-d906-0fc9-6eeef409db10
TXXX: [MusicBrainz Artist Id]: 06ef4a03-46b1-4e06-91da-1ace6dd0f59f
TXXX: [MusicBrainz Album Artist]: Various Artists
TXXX: [MusicBrainz Album Artist Id]: 89ad4ac3-39f7-470e-963a-56509c546377
TXXX: [MusicBrainz Album Id]: 2c0b576a-f129-478f-bf18-9a3ae69d7aa8
TXXX: [MusicBrainz Album Status]: official
TXXX: [MusicBrainz Album Type]: compilation
TXXX: [MusicBrainz Non-Album]: 0
TXXX: [ALBUMARTISTSORT]: Various Artists
TXXX: [MusicMagic Data]: AQEBepwkyIqWEbgVgxrVYmwdgAGCB4euzq+U9Wqc0tEbfqSTheTYSapaGK6zIJZ+gF+AAVXUhkhJxfSJ
7PrPPD4RG0Wy8jgAKAAQ==
TXXX: [MusicMagic Fingerprint]: ASurSlg2zSaIGpEd2RNNDLMN5QoND7wKrwgXCuwG+wpCBmUKCgUACScPfwvJCcsK5wg8BcYG/QZ4BxQH0wYFBaIFiwUQBCEDowMiAuwCqAKjpA71bQS2MCtCb/9pAg7/VxQhCfoH9fUt/9MJnQJpB9UFLPovAB8GNAV+Ar8DTv6mA2sCPgAgAi4AwgC+AvQCNgHRAmICIgGQAbYBoAF5AOcY/L3M/JwOOQzIXOoGjfOJ+10CRyiqBw78/fUO/isCj/4A9Nb8xPrZ/jL8xv41A5AEBf9Q/Yz9kv1QBukDfQCBADkBDgGCAI4AbwBlAQMAztBZSSDoFeCp54QwKO5Q+lfrZvnNJ7vy3/gw8Nz6UQIB/JfmjPve8o7z+vKw+Vf9BP0C/RP55PqN+EQAdf9M/Zv8vP2v/yP/QP7e/sf+5f9VJ+IV38uR5f9OtAI7AMf5jSXKAzjtTPUV+jv+U/sJ47b5bPHE+sfxneps62/1PQNCAyr7g/nl/Tv26/lM+wP5pfiO+gf8mf29/pX+eP9K/zf40/nOT2sC6wIc/hgVp/Wk9Fn2seoe+5L+2vOv9YXjxvvJ3AT5v+anx7fedvAY+Nb4dPiL+aH3IvIQ9KD1v/au9AL2nPrb/f39zf58/pv/NAv68Z4xWMXXJjzgGcuQ7Lf96QR3NNrs/vYH+nYCeBvoA+z4MP01AnQNxAcb/7T/ywXuAg392QFsAPwHlQWPAywFOANbAaoAev/Q/67/lf9iQx8bEA==
TXXX: [XFade]: &bmp=161,99
APIC: []{0=Other}: image/jpeg, 4807 bytes
XSOP: (unknown frame)
XDOR: (unknown frame)
TXXX: [replaygain_track_gain]: -10.81 dB
TXXX: [replaygain_track_peak]: 1.139400
TXXX: [replaygain_album_gain]: -10.80 dB
TXXX: [replaygain_album_peak]: 1.210151
(Track #1 of In Extremo’s »Kein Blick zurück« disc 2)
With this file, Mp3tag shows a YEAR of 2006\\2006 in the tag panel. (Which of course led me to the conclusion that I have two YEAR fields. Extended tag view also shows two times YEAR.)
For copyright reasons, I cannot include the original file for testing, but I succeeded reproducing the effect by copying the tag (CTRL+C, CTRL+V) onto a test file containing 5s of pink noise, which I attach.
(For those who wonder: XSOP and XDOR are the TSOP and TDOR equivalents MusicBrainz’ Picard currently uses when writing to ID3v2.3.)
Test___Pink_Noise.mp3 (70.9 KB)
