# Mapping Discogs 'Year' to another field?

**URL:** <https://community.mp3tag.de/t/mapping-discogs-year-to-another-field/61173>\
**Category:** Mac\
**Created:** [June 3, 2023, 11:08am UTC](https://community.mp3tag.de/t/mapping-discogs-year-to-another-field/61173 "2023-06-03T11:08:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anguisette](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/a8b319/32.png) [@Anguisette](https://community.mp3tag.de/u/Anguisette)\
**Post date:** [June 3, 2023, 11:08am UTC](https://community.mp3tag.de/t/mapping-discogs-year-to-another-field/61173/1 "2023-06-03T11:08:54Z")

</div>

hello,

i've been finding the Discogs import feature quite useful for adding missing tags. however, one thing i don't like about it is that, for reissued/remastered albums, the 'Year' tag from Discogs contains the re-release year, not the original release year, and this is mapped to the YEAR field in Mp3tag.

in my library, i prefer to set YEAR to the original release year (even for reissues), then i add a REISSUEDATE tag for the reissue year. at the moment, this means i have to deselect the Discogs 'Year' field when importing, then manually re-tag everything with the reissue date afterwards.

is there a way to have Mp3tag automatically map the Discogs 'Year' to my REISSUEDATE field instead?

---

<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:** [June 3, 2023, 11:24am UTC](https://community.mp3tag.de/t/mapping-discogs-year-to-another-field/61173/2 "2023-06-03T11:24:22Z")

</div>

The scripts are plain text files so that you edit such a script file easily.  
Replace YEAR with REISSUDATE in such a script.

---

<div class="post-metadata">

**Author:** ![Anguisette](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/a8b319/32.png) [@Anguisette](https://community.mp3tag.de/u/Anguisette)\
**Post date:** [June 3, 2023, 11:32am UTC](https://community.mp3tag.de/t/mapping-discogs-year-to-another-field/61173/3 "2023-06-03T11:32:25Z")

</div>

where would i find the script?

selecting 'Tag Sources' \> 'Open Tag Sources Folder' opens /Users/.../Library/Containers/app.mp3tag.Mp3tag/Data/Library/Application Support/Mp3tag/Sources, but that directory is empty.

i looked through the contents of /Applications/Mp3tag.app but didn't see anything that looked relevant.

---

<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:** [June 3, 2023, 11:37am UTC](https://community.mp3tag.de/t/mapping-discogs-year-to-another-field/61173/4 "2023-06-03T11:37:20Z")

</div>

see the documentation on where to look for tag source scripts:

> [@Import Tags from Online Tag Sources](https://community.mp3tag.de/t/import-tags-from-online-tag-sources/56329#custom-tag-sources-1):
>
> Mp3tag allows for importing tags and cover art from two online databases — [Discogs](https://www.discogs.com/) and [MusicBrainz](https://musicbrainz.org/) — via Tag Sources → Discogs and Tag Sources → MusicBrainz. The last used Tag Source can be triggered by ⌘ I. The import works on a per-album basis and is usually a 3-step process: Search via Tag Source Here, you provide artist and/or album details to search for the release in the online database. The more complete, the better the result. Choose one of the search resul…

---

<div class="post-metadata">

**Author:** ![Anguisette](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/a8b319/32.png) [@Anguisette](https://community.mp3tag.de/u/Anguisette)\
**Post date:** [June 3, 2023, 11:38am UTC](https://community.mp3tag.de/t/mapping-discogs-year-to-another-field/61173/5 "2023-06-03T11:38:46Z")

</div>

i see, so i'd need a third-party script to do this rather than using the built-in Discogs importer?

i'll have a look at that, thanks.
