Hi, I encountered an issue dealing with multi-value “artists” tag. I"d like to replace one (or multiple) values inside of the tag, but I wasn’t able to figure out how.
This is one of the multi-value artists tags that I am dealing with, using ; as the separator:
“Armin Van Buuren; Sharon Den Adel”
I’d like to replace the tag into following:
“Armin van Buuren; Sharon den Adel”
So far I have tried $set and $setmulti variables, such as the following:
$set(artists,$replace(%artists%,Armin Van Buuren,Armin van Buuren))
$set(artists,$replace(%artists%,Sharon Den Adel,Sharon den Adel))
or
$setmulti(artists,$replace(%artists%,Armin Van Buuren,Armin van Buuren))
$setmulti(artists,$replace(%artists%,Sharon Den Adel,Sharon den Adel))
I also tried to include "; " somewhere in the script, but the tag still wants to be saved as a single-value tag. I chose the approach to replace each tag value separately, because sometimes I just want to replace only one of the artists from the tag, e.g. in “Armin van Buuren; Adam Young” I just need to replace the first artist.
Can anyone help me with this script? Much appreciated!