by yarguy » Sun Mar 22, 2015 8:54 am
The disc # doesn't require a script at all. This what I use. The $if determines whether a disc number is included and gives me Disc 1, Disc 2, etc. You must ensure that the disc number tag in properties is blank for albums with just one disc.
i:\Jazz Albums\<Album Artist>\<Album>\\$if(<Disc#>,Disc <Disc#>\)<Track#:2> <Title>
Note that you would want to use $if(<Disc#>,CD<Disc#:2>\) to get CD01, CD02, etc. Substituting whatever else you use.
I use a similar mask for classical albums, except I don't use album artist:
i:\Classical Albums\<Album>\\$if(<Disc#>,Disc <Disc#>\)<Track#:2> <Title>
You could also do this with the year, but you would need a second variable for the condition, as I assume you don't want to leave the year tag blank for those albums that don't have a mate from a different year, i.e., $if(<other tag>,<Year>\). One of the custom fields could be used for this.
The disc # doesn't require a script at all. This what I use. The $if determines whether a disc number is included and gives me Disc 1, Disc 2, etc. You must ensure that the disc number tag in properties is blank for albums with just one disc.
i:\Jazz Albums\<Album Artist>\<Album>\\$if(<Disc#>,Disc <Disc#>\)<Track#:2> <Title>
Note that you would want to use $if(<Disc#>,CD<Disc#:2>\) to get CD01, CD02, etc. Substituting whatever else you use.
I use a similar mask for classical albums, except I don't use album artist:
i:\Classical Albums\<Album>\\$if(<Disc#>,Disc <Disc#>\)<Track#:2> <Title>
You could also do this with the year, but you would need a second variable for the condition, as I assume you don't want to leave the year tag blank for those albums that don't have a mate from a different year, i.e., $if(<other tag>,<Year>\). One of the custom fields could be used for this.