Taggerscript + Plugin: Separating performers by instrument

The original script has a variety of issues due to the way MusicBrainz and Picard work. In order to address all the issues I am observing in my library, the script becomes much more complicated. Due to the complexity, I will be posting my script as-is, without removing any of the proprietary personal tags that are present.

The updated script currently has additional requirements:

  1. You still need the “Instruments” plugin by David Mandelberg.
  2. You now need an additional plugin, rperformer, so exact match RegEx can be used. This is scheduled for Picard 2.7.
  3. You will need to manually apply this patch to rperformer if you use the colon in a pre-existing performer field. This bug fix is scheduled for Picard 2.7.

For the current version of the script, jump below. Apparently, I lose the ability to edit old posts.