I currently use the following custom tagging script…
$setmulti(artistssort,$delprefix(%artists%,The))
This works fine for most occasions, but it clearly doesn’t loop through each artist - so a release by The Six Parts Seven & The Black Keys will be tagged as…
Six Parts Seven; The Black Keys
I am not hugely familiar with the scripting language but it looks like i maybe need to use $foreach in my script - i’m just not sure how to use this function in combination with the above script so that I end up removing ‘The’ prefix from all artists to give the following result…
Sorry that was the code I used for testing (couldn’t find an album with multiple artists beginning with “The”), just use %artists% $setmulti(artistssort,$map(%artists%,$delprefix(%_loop_value%,The)))
EDIT: I know LMS supports artistssort but I don’t think many systems do.
weirdly it does for me - ive turned off all other scripts and running that code tries to adjust both the Artists tag and the artistssort tag. maybe i need to walk away for a bit!