Hello. I'm having difficulties getting my file naming template set up correctly. In plain text, here's what I'm trying to achieve:
Album Artist (sorted so "A" and "The" are shown at the end as in "Red Hot Chili Peppers, The")
subfolder
Album (again, sorted)
[space] (if there's an album year present)
Album Year in yyyy (don't show if null)
subfolder
DiscCount (don't show if less than 2)
- (a dash, if DiscCount is shown)
Track#
[space]
Title (not sorted)
The following fails in the template editor:
$Sort<Album Artist>\$Sort<Album>$If($IsNull(<Year (yyyy)>,, (<Year (yyyy)>))\$If(<Disc Count><2,,$IsNull(<Disc#>,,<Disc#>))<Track#><Title>
Some examples to help illustrate (backslashes indicate folders, and I added "The" in some spots just to help illustrate):
White Stripes, The/Elephant, The (2003)/1 The Seven Nation Army.mp3
If the song was on disc 2 and there wasn't a year in the metadata, it would be:
White Stripes, The/Elephant, The/2-1 The Seven Nation Army.mp3
Thanks for the help!