# Duplicate year fields on random tracks

**URL:** https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164
**Category:** Support
**Created:** [January 11, 2019, 1:46am UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164 "2019-01-11T01:46:51Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Team\_Horus](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/34f0e0/32.png) [@Team\_Horus](https://community.mp3tag.de/u/Team_Horus)
#### Post date: [January 11, 2019, 1:46am UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/1 "2019-01-11T01:46:51Z")

</div>

Hey,

Seemingly in random (both random tracks and random timing), Mp3Tag will mess up a track's year. It would change a track's year into a year//year format instead of simply year.

For example, a song that came out in 2007 could be changed to display 2007//2007 in the year field, as opposed of course to simply 2007.

This has been happening without my intervention (I am very pedantic about my music's metadata and personally and manually made sure everything is the way I like it) for quite some time now, but I have only recently noticed it also has an impact on the music stored in my music player; displaying all affected tracks' year as "Unknown".

Please help me fix this issue.

Thank you.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 11, 2019, 6:22am UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/2 "2019-01-11T06:22:00Z")

</div>

> [@Team\_Horus](#):
>
> Mp3Tag will mess up a track's year. It would change a track's year into a year//year format instead of simply year.

The question is: is MP3tag really the cause or just the messenger?  
See this thread which tells you something about the behaviour of other programs

> [@Two year tags](https://community.mp3tag.de/t/two-year-tags/14761):
>
> I've noticed that if I tag the year field like "XXXX-XX-XX", it won't appear like that on Winamp. However, if I tag the year field like that using TagScanner, Winamp has no problem and shows it just like that. But after tagging the year field on TagScanner and checking the tag on Mp3tag, it shows two year tags. I just want Winamp to show the year tag like that; year, month, day. First, I always get the album info using MusicBrainz Picard and it tags the year field like "XXXX-XX-XX". Then I get …

and this one that tells you how to unify or get rid of fields with several instances:

> [@YEAR extracting the TWO values](https://community.mp3tag.de/t/year-extracting-the-two-values/15824):
>
> I have quite a few MP3s with two values set against the YEAR tag. 3 views that show what I mean. Select MP3 file and in the Tag Panel in the year field the following is shown "2013\\2013-11-22" In the Extended Tags I can see two instances of YEAR (2013 and 2013-11-22) In the Columns on the main screen I have specified YEAR to be %year% in both value and field BUT just 2013 is shown. OK..I have tried merging the field, removing the field (in the hope the 2nd guy will remaim ;-)) I have tried…

---

<div class="post-metadata">

### Author: ![Team\_Horus](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/34f0e0/32.png) [@Team\_Horus](https://community.mp3tag.de/u/Team_Horus)
#### Post date: [January 12, 2019, 12:20am UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/3 "2019-01-12T00:20:29Z")

</div>

Hi!

Thank you so much for you response.

I'm running into some trouble trying to fix this as per the thread you've linked, as it seems the person who offered the solution does not speak English as his first language.

Following his instructions, I received an alert from Mp3Tag after the action ran on all of my files, eventually telling me that some 1800 files have been changed and that 0 files have been renamed. HOWEVER, all files previously affected have retained the double value in the year field. This leads me to two questions:

1. What did the action I applied on all of my files exactly do? For reference are the step I've done:

Actions\>Actions\>New\>Named my action group "year duplicates"\>New\>Merge Duplicate Fields\>OK\>Field: YEAR, SEPARATOR: `\\`\>OK\>OK\>Selected all files in the directory, which includes both affected and unaffected files\>Checked the action I created\>OK

1. What am I doing wrong exactly and what should I do differently to fix this issue?

Thank you for your time.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 12, 2019, 9:00am UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/4 "2019-01-12T09:00:03Z")

</div>

> [@Team\_Horus](#):
>
> ...I entered into the SEPARATOR field is in fact 2 backslashes.

Unfortunately, the two backslashes is the indicator for MP3tag to treat a field as intended multi-value field and split the found value into at least 2 fields.  
So if you merge duplicate fields but have the double-backslash as separator then you only merge them for a split second and then on saving, the data is split again.

Use the same action (merge duplicate fields) but use a different separator, e.g. `; ` (semicolon-blank)  
You then see the data from all the fields of the same type in one field and you can edit it to keep the data that you want.  
If you do not want that but simply remove the duplicate fields and keep one, then use the action "Remove duplicate fields"

---

<div class="post-metadata">

### Author: ![Team\_Horus](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/34f0e0/32.png) [@Team\_Horus](https://community.mp3tag.de/u/Team_Horus)
#### Post date: [January 12, 2019, 3:25pm UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/5 "2019-01-12T15:25:13Z")

</div>

Hi again,

Let me preface this by saying that I'm an obviously not an expert and as such don't really know the inner working of Mp3Tag or have some in-depth knowledge about tags in general. In fact I'm quite the technophobe who happens to like music a lot, so your help and patience is greatly appreciated.

That being said, I tried doing what you've said but it seemingly didn't do anything.  
I tried using both ";" (semicolon) and "; " (semicolon + blank space) as separators as I didn't fully understand what you wanted me to do and... the double values are still there.

Some for google searching led me to this thread ([Year Field Appears Twice in Tag Panel](https://community.mp3tag.de/t/year-field-appears-twice-in-tag-panel/14086/3)) which is pretty much the issue I'm experiencing. Following that, I decided to check my files' Extended Tags.

It seems that all affected files have a field called ENCODEDBY, and they all share the same value. This field is absent in files that have the year displayed correctly. In affected files, this is what it shows, for example:

ALBUM A Fine Day to Exit  
ARTIST Anathema  
ENCODEDBY Lavf52.16.0  
TITLE Panic  
TRACK 7  
YEAR 2001\2001

HOWEVER!

When I press OK after viewing an affected file's Extended Tag I receive an alert saying "Saved tag in 1 of 1 files". This causes the double value to DISAPPEAR from the year column on the main Mp3Tag screen, but RETAINS the double value displayed in the year field on the tag editing panel on the left. Afterwards, when I reopen the Extended Tags of a file that has been changed in this way, this is what I see instead:

ALBUM A Fine Day to Exit  
ARTIST Anathema  
ENCODEDBY Lavf52.16.0  
TITLE Panic  
TRACK 7  
YEAR 2001  
YEAR 2001

I've tried saving all files simultaneously to propagate any changes my "Merge Duplicate Fields" action  
may have caused but to no avail.

Also, based on the thread I provided, it seems important to mention that I'm using Winamp to play my music on my PC.

How do I go about removing just one value from the YEAR field?

Thanks again for your help.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [January 12, 2019, 4:03pm UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/6 "2019-01-12T16:03:37Z")

</div>

> [@Team\_Horus](#):
>
> How do I go about removing just one value from the YEAR field?

Use an action [Remove duplicate fields](https://docs.mp3tag.de/actions/remove-duplicate-fields)

---

<div class="post-metadata">

### Author: ![Team\_Horus](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/34f0e0/32.png) [@Team\_Horus](https://community.mp3tag.de/u/Team_Horus)
#### Post date: [January 12, 2019, 4:28pm UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/7 "2019-01-12T16:28:22Z")

</div>

@Florian

Thanks for your response, but this hasn't done anything at all.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 12, 2019, 5:03pm UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/8 "2019-01-12T17:03:02Z")

</div>

> [@Team\_Horus](#):
>
> this hasn't done anything at all.

Please check again.  
At least the file

> [@Team\_Horus](#):
>
> ALBUM A Fine Day to Exit  
> ARTIST Anathema  
> ENCODEDBY Lavf52.16.0  
> TITLE Panic  
> TRACK 7  
> YEAR 2001  
> YEAR 2001

should after it has been treated by an action of the type "Remove duplicate fields" for YEAR look like this:  
ALBUM A Fine Day to Exit  
ARTIST Anathema  
ENCODEDBY Lavf52.16.0  
TITLE Panic  
TRACK 7  
YEAR 2001

---

<div class="post-metadata">

### Author: ![Team\_Horus](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/34f0e0/32.png) [@Team\_Horus](https://community.mp3tag.de/u/Team_Horus)
#### Post date: [January 12, 2019, 8:14pm UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/9 "2019-01-12T20:14:32Z")

</div>

Have checked again.

As previously mentioned, only the year in the main screen is changed to single value, while the year in the Extended Tags and in the edit window on the left retains the double value.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [January 12, 2019, 8:40pm UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/10 "2019-01-12T20:40:54Z")

</div>

I'd like to resolve this quickly. Can you just send me one of the offending files?

---

<div class="post-metadata">

### Author: ![Team\_Horus](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/34f0e0/32.png) [@Team\_Horus](https://community.mp3tag.de/u/Team_Horus)
#### Post date: [January 12, 2019, 9:51pm UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/11 "2019-01-12T21:51:00Z")

</div>

@Florian

Sent you a PM.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [January 14, 2019, 9:21am UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/12 "2019-01-14T09:21:42Z")

</div>

We've found a solution to this issue. The files in question probably had duplicate year fields in the beginning (it's unknown how those were added) and most likely a series of actions applied to those files resulted in a single year field containing multiple values separated by `\\`, e.g., `2018\\2019`. This was visible via the extended tags dialog, which did not list two separate year fields but one with the combined values.

Resolving this was possible via the following steps:

1. Filter the offending files via the Filter F3 and the filter expression `YEAR HAS "\\"`
2. Perform an action "Split field by separator" for field `YEAR` using `\\` as separator
3. Perform an action "Remove duplicate fields"

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [January 6, 2021, 2:21pm UTC](https://community.mp3tag.de/t/duplicate-year-fields-on-random-tracks/44164/13 "2021-01-06T14:21:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
