# Picard Plugin: Performer Tag Replace

**URL:** <https://community.metabrainz.org/t/picard-plugin-performer-tag-replace/402266>\
**Category:** MusicBrainz Picard\
**Tags:** picard-plugins-fixme\
**Created:** [October 19, 2018, 10:35pm UTC](https://community.metabrainz.org/t/picard-plugin-performer-tag-replace/402266 "2018-10-19T22:35:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdswift](https://community.metabrainz.org/user_avatar/community.metabrainz.org/rdswift/32/7032_2.png) [@rdswift](https://community.metabrainz.org/u/rdswift)\
**Post date:** [October 19, 2018, 10:35pm UTC](https://community.metabrainz.org/t/picard-plugin-performer-tag-replace/402266/1 "2018-10-19T22:35:53Z")

</div>

# Performer Tag Replace [[Download](https://github.com/rdswift/picard-plugins/raw/2.0_RDS_Plugins/plugins/performer_tag_replace/performer_tag_replace.zip)]

## Overview

This plugin provides the ability to replace text in performer tags. Once installed a settings page will be  
added to Picard’s options, which is where the plugin is configured.

* * *

## Settings

The settings panel allows the user to provide a list of the original/replacement pairs used to modify the keys  
for the performer tags. Each pair must be entered on a separate line in the form:

```nohighlight
original character string=replacement character string

```

Blank lines and lines beginning with an equals sign (=) will be ignored. Replacements will be made in the  
order they are found in the list.

There is also a setting which allows the user to choose whether or not to apply the replacements to the artist  
values in addition to the instrument / vocal keys. By default, only the keys are processed.

* * *

## Examples

### Example 1:

Suppose that you don’t like instruments listed as “instrument family”, but would rather have it shown as  
the plural of the instrument. This could be done using the following:

```nohighlight
==========================================
= Remove "family" from instrument groups =
==========================================
s family=ses
 family=s

```

Note that the last line begins with a single space.

This would cause the performer credit `Performer [guitar family]: Chet Atkins` to be changed to `Performer [guitars]: Chet Atkins`.

Note that the `s family=ses` would match an instrument family where the instrument ended in “s” and add  
“es” rather than just an “s”. For example if there was a “bass family”, this would change it to “basses”  
rather than “basss”. (As of this writing, I don’t think there are any cases in the database where the  
instrument in an instrument family ends with an “s”, so that replacement pair should never be triggered.)

### Example 2:

Suppose that you don’t like the term “additional”, but would rather have it shown as “extra”. This could  
be done using the following:

```nohighlight
==================================
= Change "additional" to "extra" =
==================================
additional=extra

```

This would cause the performer credit `Performer [additional background vocals]: Jeen` to be  
changed to `Performer [extra background vocals]: Jeen`.

### Example 3:

Suppose that you want to show the instrument as “drums” rather than “drums (drum set)”, or “membranophone”. This could be done using the following:

```nohighlight
=====================================
= Standardize instrument to "drums" =
=====================================
drums (drum set)=drums
drum set=drums
membranophone=drums

```

This would cause the performer credit `Performer [membranophone]: Ringo Starr` to be changed to  
`Performer [drums]: Ringo Starr`.

---

<div class="post-metadata">

**Author:** ![hiccup](https://community.metabrainz.org/user_avatar/community.metabrainz.org/hiccup/32/5512_2.png) [@hiccup](https://community.metabrainz.org/u/hiccup)\
**Post date:** [October 21, 2018, 11:48am UTC](https://community.metabrainz.org/t/picard-plugin-performer-tag-replace/402266/2 "2018-10-21T11:48:32Z")

</div>

Thank you for creating this plugin.  
It works very well indeed for avoiding the membranophone/instrument families mishap spoiling your library:

without your plugin:

![](https://i.imgur.com/oqrNX0c.png)

.  
with your plugin:

![](https://i.imgur.com/EOgAViQ.png)

(I added the line: spoken vocals=spoken word )
