Need help with simple clean renaming script


#1

Sorry for this being so basic but I am having trouble figuring out how to do this. I would like to rename my files iin the following way with no additional punctuation (and preferably with no “featuring” etc:

albumartist\originalyear album\discnumber-tracknumber title.mp3

So a single disc would it be named:

Beatles\1965 Help\07 Ticket to Ride.mp3

or a multidisc:

Various Artists\2005 Coup dEtat, Volume 1\02-05 Snowboy.mp3

Any help would be appreciated.


#2

See if this does what you’re after:

$delprefix(%albumartist%)/$left($if2(%originaldate%,%originalyear%,%date%,0000),4) %album%/$if($gt(%totaldiscs%,1),$num(%discnumber%,2)-,)$num(%tracknumber%,2) %title%