# Duplicate tag values and insertion of lowercase tag names

**URL:** <https://community.metabrainz.org/t/duplicate-tag-values-and-insertion-of-lowercase-tag-names/618451>\
**Category:** MusicBrainz Picard\
**Tags:** taggerscript, picard\
**Created:** [January 10, 2023, 5:22pm UTC](https://community.metabrainz.org/t/duplicate-tag-values-and-insertion-of-lowercase-tag-names/618451 "2023-01-10T17:22:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [January 10, 2023, 6:21pm UTC](https://community.metabrainz.org/t/duplicate-tag-values-and-insertion-of-lowercase-tag-names/618451/4 "2023-01-10T18:21:43Z")

</div>

Picard scripting is case-sensitive, and in general, you have to handle MP3 differently from M4A differently from FLAC/Vorbis, which requires lots of branches in your tagger scripts.

e.g.,

> [@Taggerscript: Compatible MP3 tags](https://community.metabrainz.org/t/taggerscript-compatible-mp3-tags/556607):
>
> 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. $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) …

---

_[View the full topic](https://community.metabrainz.org/t/duplicate-tag-values-and-insertion-of-lowercase-tag-names/618451)._
