# Taggerscript: Compatible MP3 tags

**URL:** <https://community.metabrainz.org/t/taggerscript-compatible-mp3-tags/556607>\
**Category:** MusicBrainz Picard\
**Tags:** taggerscript\
**Created:** [October 24, 2021, 10:04pm UTC](https://community.metabrainz.org/t/taggerscript-compatible-mp3-tags/556607 "2021-10-24T22:04:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yindesu](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/y/b77776/32.png) [@yindesu](https://community.metabrainz.org/u/yindesu)\
**Post date:** [October 24, 2021, 10:04pm UTC](https://community.metabrainz.org/t/taggerscript-compatible-mp3-tags/556607/1 "2021-10-24T22:04:55Z")

</div>

By default, Picard writes MP3 tags that don’t have great compatibility with a mixed format library (e.g., mix of MP3 files and FLAC files), or play nicely with foobar2000. This script moves Picard fields so that they look the same as FLAC files in foobar2000.

```auto
$if($eq($upper(%_extension%),MP3),

$noop(Move UFID:http://musicbrainz.org to TXXX)
$set(MUSICBRAINZ_TRACKID,%musicbrainz_recordingid%)
$unset(musicbrainz_recordingid)

$noop(foobar2000 can't read INVOLVED PEOPLE / TIPL v2.4 / IPLS v2.3)
$set(ARRANGER,%arranger%)
$unset(arranger)
$set(DJMIXER,%djmixer%)
$unset(djmixer)
$setmulti(ENGINEER,%engineer%)
$unset(engineer)
$setmulti(MIXER,%mixer%)
$unset(mixer)
$set(PRODUCER,%producer%)
$unset(producer)

$set(MEDIA,%media%)
$unset(media)

$noop(Use TXXX rather than PUBLISHER)
$set(LABEL,%label%)
$unset(label)

$noop(Move single-value <MUSICBRAINZ ALBUM ID> to MUSICBRAINZ_ALBUMID)
$set(MUSICBRAINZ_ALBUMID,%musicbrainz_albumid%)
$unset(musicbrainz_albumid)

$noop(Move single-value <MUSICBRAINZ RELEASE GROUP ID> to MUSICBRAINZ_RELEASEGROUPID)
$set(MUSICBRAINZ_RELEASEGROUPID,%musicbrainz_releasegroupid%)
$unset(musicbrainz_releasegroupid)

$noop(Move <MUSICBRAINZ ALBUM ARTIST ID> to MUSICBRAINZ_ALBUMARTISTID)
$setmulti(MUSICBRAINZ_ALBUMARTISTID,%musicbrainz_albumartistid%)
$unset(musicbrainz_albumartistid)

$noop(Move <MUSICBRAINZ ARTIST ID> to MUSICBRAINZ_ARTISTID)
$setmulti(MUSICBRAINZ_ARTISTID,%musicbrainz_artistid%)
$unset(musicbrainz_artistid)

$noop(Move <MUSICBRAINZ WORK ID> to MUSICBRAINZ_WORKID)
$setmulti(MUSICBRAINZ_WORKID,%musicbrainz_workid%)
$unset(musicbrainz_workid)

$noop(Move <MUSICBRAINZ ALBUM TYPE> to RELEASETYPE)
$setmulti(RELEASETYPE,%releasetype%)
$unset(releasetype)

$noop(Move <MUSICBRAINZ ALBUM RELEASE COUNTRY> to RELEASECOUNTRY)
$set(RELEASECOUNTRY,%releasecountry%)
$unset(releasecountry)

$set(ORIGINALDATE,%originaldate%)
$unset(originaldate)

)

```

---

<div class="post-metadata">

**Author:** ![KthugS](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/k/7feea3/32.png) [@KthugS](https://community.metabrainz.org/u/KthugS)\
**Post date:** [May 24, 2024, 9:11am UTC](https://community.metabrainz.org/t/taggerscript-compatible-mp3-tags/556607/3 "2024-05-24T09:11:53Z")

</div>

I thought a lot about tag management while using foobar2000 and mp3tag in the past, and eventually decided on a certain choice.  
But recently, I took out Picard to try out functions that only Picard can perform, and it made me fall into deep trouble again.

Thank you for your script as it solved some of my concerns.

---

<div class="post-metadata">

**Author:** ![Tenome](https://community.metabrainz.org/user_avatar/community.metabrainz.org/tenome/32/48607_2.png) [@Tenome](https://community.metabrainz.org/u/Tenome)\
**Post date:** [June 21, 2024, 11:31am UTC](https://community.metabrainz.org/t/taggerscript-compatible-mp3-tags/556607/4 "2024-06-21T11:31:19Z")

</div>

I also ran into this exact issue recently, thanks for the script.
