Need help with a naming script


So I updated my hard drive and I dont remember how I had the naming script for picard. The format was…
Genre/first letter of artist/ artist / year — album name/ Track#–Track Name. Any help would be awesome. Thank you in advance.


Give this a try and see if it does what you want:

$if2(%genre%,Unknown Genre)/$firstalphachar($if2(%albumartistsort%,Unknown Artist),nonalpha="#")/$if2(%albumartist%,Unknown Artist)/$left($if2(%date%,%originaldate%,0000),4) - %album%/$if($gt(%totaldiscs%,1)%discnumber%-)$num(%tracknumber%,2) - %title%

You might have to tweak it a bit for format and depending whether you want the artist or album artist shown and whether you want the artist initial and name sorted or unsorted.