Scripting question (Artist first name, last name)


#1

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),[:?"_]+,), , )


#2

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


#3

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


#4

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),[:?"_]+,),  , )