I would like to modify the script here (or something like this) to account for the fact that sometimes I have multi-disc compilations. I'd like each disc in its own subfolder e.g. /albumartist/album/disc1/tracks.
how do I modify this so that if the discnumber is greater than one, then add the disc number as a subfolder, but if it is less than two, ignore it.
Filter for the files that have a fitting discnumber.
Then try the format string: %albumartist%\%album%\%discnumber%\%title%
If you have filled the discnumber only for albums where there are more than 1 disc and left it out for single disc albums, then you could leave out the filter and try: %albumartist%\%album%\[%discnumber%\]%title%