Author Topic: How to make every "Artist" after the First "Artist", part of "Guest Artist"?  (Read 1499 times)

tw1zta

  • Newbie
  • *
  • Posts: 15
Hi everyone.  :)

All my tracks in my music library with multiple artists are all marked with "Artist", I would like to figure out how to make additional artists (after the FIRST artist) to "Guest Artist." All tracks in my library already have the tracks with multiple artists split with semicolon ";" so they are separate, I just need to find a way to mark those additional artists as "Guest Artist".

I am sure with that Additional Tagging plugin it is possible, but I need some help. Thanks in advance!

Example of what I want:

Artist 1 : "Artist"
Artist 2: "Guest Artist" (default it's Artist)
Artist 3: "Guest Artist" (default it's Artist)

Dizza17

  • Full Member
  • ***
  • Posts: 192
Hi there,
This is possible with the advance search & replace plug in as you mentioned. Install the ASR presets that comes with the plug in and search through them for the one that suits your needs.
When the rich wage war, it’s the poor who suffer.

tw1zta

  • Newbie
  • *
  • Posts: 15
Thank you for your response, Dizza17. I did install all of the presets, however, I unfortunately could not find anything that could help me.  :(

If I can make my explanation easier, I will add this: I have tracks with multiple artists and by default, MusicBee will automatically tag the multiple artists as "Artist" and not "Guest Artist". I want to find a way to change all the artists that come after the first artist to GUEST artist.

Default: Artist 1; Artist 2; Artist 3
My Preferred way: Artist 1; Guest Artist 2; Guest Artist 3

I hope I am being clear in my post. The very first artist is fine as "Artist" but all other artist I want to be tagged as "Guest Artist".

Thanks again to everyone in advance for helping!

Dizza17

  • Full Member
  • ***
  • Posts: 192
So when you open the artist splitter panel, what is assigned to each artist? If you’re only doing a few tracks then you can just change each guest artist from “artist” to “Guest Artist” in the drop down section. Otherwise there’s a preset “move all artist to guest artist after splitter symbols (; & and ,). I don’t recall the exact name but it’s not far from that.
When the rich wage war, it’s the poor who suffer.

tw1zta

  • Newbie
  • *
  • Posts: 15
Yeah that's the thing, I can do it manually, but I have a huge library (200k+) and it would take forever to edit each track that I have.

So I searched through the presets and was able to find this preset: "Convert all artists with their roles after comma to performers" which I believe is what you were talking about, correct?

Problem is, I use semicolon not comma; and I don't want it to change to "Performer" but to "Guest Artist" instead.

Here is the code for it:

Search for: (.*?),\s*(.*?)(\x00|;\s*|$)
Replace with: \@char[[2]]$1 (\@lc[[$2]])\@null[[]]

Do you know how to change comma to semicolon and Performer to Guest Artist?

Dizza17

  • Full Member
  • ***
  • Posts: 192
I know there’s definitely a preset for it other than the one you’ve mentioned. Read this thread mate, this might help.

https://getmusicbee.com/forum/index.php?topic=30962.msg180986#msg180986
When the rich wage war, it’s the poor who suffer.

Zak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2553
No idea about the Additional Tagging plug-in, but I was able to put this set of actions together for Mp3tag (https://www.mp3tag.de/en/):



I've included these below so you can copy and paste them if needed:

1. Turn the separate Artist values into a single string we can work with:

Code
$meta_sep(Artist,|)
2. If there are multiple artists, store the second and subsequent Artist names in a Guest Artist tag:

Code
$IfGreater($StrChr(%Artist%,|),0,$regexp(%Artist%,(.*?)\|(.*),$2),)
3. Separate the single Guest Artist tag into multiple tags (for which Mp3tag uses the \\ delimiter)

Code
$replace(%Guest Artist%,|,\\)
4. Update the Artist tag to keep only the first Artist tag value:

Code
$regexp(%Artist%,(.*?)\|(.*),$1)

Notes
This doesn't do any text matching for '(featuring XYZ)' etc. in your artist names.
It just separates out existing multiple value tags, which is how I've interpreted your request.

I've used a single pipe character | as the temporary delimiter.
If you have artist names that use that character, you'll have to do them separately - I can't imagine there would be many.

I did limited testing on this, so run it on a small test batch before unleashing it on all 200,00 tracks in one go.
But you have all of your tracks backed up anyway, right? Right?!  :-X
Bee excellent to each other...

Dizza17

  • Full Member
  • ***
  • Posts: 192
You should have these ASR presets if you have the latest version of the plugin?

https://imgur.com/a/zf3HbHG
When the rich wage war, it’s the poor who suffer.

Zak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2553
You should have these ASR presets if you have the latest version of the plugin?

https://imgur.com/a/zf3HbHG

This is not what the OP is asking for:



All tracks in my library already have the tracks with multiple artists split with semicolon ";" so they are separate...
Bee excellent to each other...

Dizza17

  • Full Member
  • ***
  • Posts: 192
You should have these ASR presets if you have the latest version of the plugin?

https://imgur.com/a/zf3HbHG

This is not what the OP is asking for:



All tracks in my library already have the tracks with multiple artists split with semicolon ";" so they are separate...

If the display artist is tagged as artist 1 artist 2 artist 3 then the top preset will work suffice. This preset can also be change to the artist tag to suit the OP requirements.
When the rich wage war, it’s the poor who suffer.