Yes, it’s this part:
$setmulti(_artists_temp,%artist%)
$copymerge(_artists_temp,artists)
$copymerge(_artists_temp,_artists_track_primary_std)
$copymerge(_artists_temp,_artists_track_additional_std)
$copymerge(_artists_temp,_artists_track_all_cred)
$setmulti(artist,%_artists_temp%)
It combines the artist tag with the artists tag and with various variables provided by the Additional Artists Variables plugin.
artist and artists in this case (without standardizing the artist name) are both “Toshiko Tasaki”, so that’s fine.
But from the artists variables, _artists_track_primary_std is the standardized artist name of what the plugin considers the primary artist, that is then “田崎寿子” here. _artists_track_additional_std would be the standardized names of additional artists, but there are none here, so it is empty. _artists_track_all_cred then is all artists again, but as credited. That is “Toshiko Tasaki” once again.
Overall this combination doesn’t make much sense, unless you want every possible spelling of artist names as a separate entry. The Additional Artists Variable plugin provides different variables that are different representation of the artists. It’s not useful to combine them into one list.
The real mess happens if this script is used on an entry with multiple artists, e.g. try Release “Persona 2 Innocent Sin - Mini Sound Track” by Toshiko Tasaki, Kenichi Tsuchiya & Masaki Kurokawa - MusicBrainz. The artist tag then has those 6 entries:
- from
artist tag (visual representation of full artist credits):
- Toshiko Tasaki, Kenichi Tsuchiya & Masaki Kurokawa
- from
artists tag (all individual artists from the credits separate)
- Toshiko Tasaki
- Kenichi Tsuchiya
- Masaki Kurokawa;
- from
_artists_album_primary_std, the primary artist, standardized
- from
_artists_album_additional_std, all additional artists, standardized, as credits string:
- finally there would be
_artists_track_all_cred (all artists as credited, as one credits string), but that’s identical to artist, hence doesn’t add anything.
Not quite sure what the goal here is, but either one of the two statements below is probably enough and achieves what is wanted.
Set the artist tag as multitag field as credited:
$setmulti(artist,%_artists_album_all_cred_multi%)
Set the artist tag as multitag field standardized:
$setmulti(artist,%_artists_album_all_std_multi%)