I had thought I already posted my script, but I guess it slipped my mind.
This script gives a layer of folders with the initial letter of the album artist sort name, then the sort name itself, next the album name, with release comment, and single or EP if appropriate. The songs are in the form: Track number - artist - title. Multiple disc releases are all in the same folder with the disc number tacked on to the front of the track number.
Back at the root level, there are separate folders for soundtracks and various artist compilations. Under those, there’s another layer of initial letters, this time of the swapprefix’ed album names, then those names, with the file names under those in the same format as before.
Examples:
Tagged Music\~D~\Dylan, Bob\Blood on the Tracks\01 - Bob Dylan - Tangled Up in Blue.mp3
Tagged Music\~C~\Crosby, Bing\Bing Sings 96 of His Greatest Hits\711 - Bing Crosby with The Andrews Sisters - Vict’ry Polka.mp3
Tagged Music\Soundtrack\~W~\Wizard of Oz, The\02 - Harold Arlen - Over the Rainbow.mp3
Tagged Music\Various Artists\~1~\1959- Jazz’s Greatest Year\02 - Miles Davis & Gil Evans - The Pan Piper.mp3
Tagged Music\~M~\Mann, Manfred, Earth Band\Blinded by the Light _ Spirit in the Night (Single)\01 - Manfred Mann’s Earth Band - Blinded By The Light.mp3
Tagged Music\~D~\Dire Straits\ExtendedancEPlay (EP)\01 - Dire Straits - Twisting by the Pool.mp3
Tagged Music\~R~\Rush\R40 Live (Only @ Best Buy version with starman flashlight)\210 - Rush - 2112.mp3
$replace(
$replace(
$replace(
$replace(
$replace(
$replace(
$if($in(%releasetype%,soundtrack),
$noop(Soundtracks)
Soundtrack/~
$left($swapprefix(%album%,A,An,The),1)~/$swapprefix(%album%,A,An,The)
$if(%_releasecomment%, \(%_releasecomment%\),$noop())
$if($in(%releasetype%,single), \(Single\),$noop())
$if($in(%releasetype%,ep), \(EP\),$noop())/
$if($gt(%totaldiscs%,1),%discnumber%,$noop())
$num(%tracknumber%,2) - %artist% - %title%,
$if($eq(%albumartist%,Various Artists),
$noop(Various artist albums)
Various Artists/~
$left($swapprefix(%album%,A,An,The),1)~/$swapprefix(%album%,A,An,The)
$if(%_releasecomment%, \(%_releasecomment%\),$noop())
$if($in(%releasetype%,single), \(Single\),$noop())
$if($in(%releasetype%,ep), \(EP\),$noop())/
$if($gt(%totaldiscs%,1),%discnumber%,$noop())
$num(%tracknumber%,2) - %artist% - %title%,
$noop(Normal albums)
~$left($if2(%albumartistsort%,%artistsort%,%albumartist%,%artist%),1)~/
$if2(%albumartistsort%,%artistsort%,%albumartist%,%artist%)/%album%
$if(%_releasecomment%, \(%_releasecomment%\),$noop())
$if($in(%releasetype%,single), \(Single\),$noop())
$if($in(%releasetype%,ep), \(EP\),$noop())/
$if($gt(%totaldiscs%,1),%discnumber%,$noop())
$num(%tracknumber%,2) - %artist% - %title%)
)
,*,[x])
,?,)
,:,-)
,",')
,<,{)
,>,})