# How to fix year metadata after converting?

**URL:** <https://community.mp3tag.de/t/how-to-fix-year-metadata-after-converting/60829>\
**Category:** Support\
**Created:** [April 28, 2023, 7:20pm UTC](https://community.mp3tag.de/t/how-to-fix-year-metadata-after-converting/60829 "2023-04-28T19:20:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rainout](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/bc79bd/32.png) [@Rainout](https://community.mp3tag.de/u/Rainout)\
**Post date:** [April 28, 2023, 7:20pm UTC](https://community.mp3tag.de/t/how-to-fix-year-metadata-after-converting/60829/1 "2023-04-28T19:20:55Z")

</div>

Hi. Recently I converted all my music library from MP3 to OPUS and used Mp3tag to copy all tags/artwork with little to no error (aside from sometimes missing the first line on UNSYNCEDLYRICS, but that's fixable) and now my YEAR tag is in a weird format:

 ![Sin título](https://community.mp3tag.de/uploads/default/original/2X/f/f38009087bbbc85ede1c8825325723e7a6e0e875.png)  
For example, the first line should be 16/02/2007 or dd/mm/yyyy but it has no format now. Is there any way to fix this? should I copy the metadata to another tag for OPUS? Thanks.

---

<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:** [April 28, 2023, 7:27pm UTC](https://community.mp3tag.de/t/how-to-fix-year-metadata-after-converting/60829/2 "2023-04-28T19:27:46Z")

</div>

Try an action of the type "Merge duplicate field" for YEAR and use a suitable separator, e.g. the slash.

> **[Merge Duplicate Fields – Mp3tag Documentation](https://docs.mp3tag.de/actions/merge-duplicate-fields/)**
>
> Documentation on the Merge Duplicate Fields action type that can be performed as Quick Action or as reusable workflow from Action Groups. Mp3tag is the universal Tag Editor.

you could then use Convert\>Tag-Tag for YEAR and  
Format string: `$regexp(%year%,(\d\d)(\d\d)(.*),$1/$2$3)`

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [April 28, 2023, 8:00pm UTC](https://community.mp3tag.de/t/how-to-fix-year-metadata-after-converting/60829/3 "2023-04-28T20:00:38Z")

</div>

> [@Rainout](#):
>
> and now my YEAR tag is in a weird format:

The two backslashes are indictors that field has multiple entries. Somehow in your copy process either the original file already had these dual dates, or there was something in the conversion that added them. Strange though that some appear to be very different years.

The post above from @ohrenkino details how to deal with these now, and get them back to a single year.

---

<div class="post-metadata">

**Author:** ![Rainout](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/bc79bd/32.png) [@Rainout](https://community.mp3tag.de/u/Rainout)\
**Post date:** [April 28, 2023, 8:01pm UTC](https://community.mp3tag.de/t/how-to-fix-year-metadata-after-converting/60829/4 "2023-04-28T20:01:01Z")

</div>

@ohrenkino That worked flawlessly, thanks.

---

<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:** [May 28, 2023, 8:01pm UTC](https://community.mp3tag.de/t/how-to-fix-year-metadata-after-converting/60829/5 "2023-05-28T20:01:53Z")

</div>

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