Scripting question (Artist first name, last name)

Hey Guys,

I was going through the forums and found a script I liked for organizing my mp3’s. Only problem is it puts the artist name as Last Name, First name. I’d prefer it to be First Name, Last name.

What part of this script do I alter?


$replace($rreplace(
** $if($eq(%albumartist%,Various Artists), [Various Artists],**
** $if($eq(%albumartist%,[unknown]), [Unknown],**
** $left($rreplace($if2(%albumartistsort%,%artistsort%),; [^)]+,), 60))**
)
/
$if(%date%,[$left(%date%,4)] )$left($replace(%album%,/,), 70)
/
$if($gt(%totaldiscs%,1),$if(%discnumber%, $num(%discnumber%,2)-),)
$num(%tracknumber%,2). $left(%title%,120),[:?"_]+,), , )

Use %albumartist% and %artist% instead of %albumartistsort% and %artistsort%

1 Like

Ok I’ll try it when i get home. Thanks!

That worked! Ty kindly!

$replace($rreplace(
   $if($eq(%albumartist%,Various Artists), [Various Artists],
	    $if($eq(%albumartist%,[unknown]), [Unknown],
          $left($rreplace($if2(%albumartist%,%artist% ),; [^\)]+,), 60))
)
/
$if(%date%,[$left(%date%,4)] )$left($replace(%album%,/,), 70)
/
$if($gt(%totaldiscs%,1),$if(%discnumber%, $num(%discnumber%,2)-),)
$num(%tracknumber%,2). $left(%title%,120),[:?"_]+,),  , )
1 Like