CD Number only if it exists?

Ask questions and get answers on how to make Max behave.
Post Reply
Posts: 1
Joined: Sun Jan 06, 2008 10:22 pm

CD Number only if it exists?

Post by tubegeek »

I use the following string to name my output files:

Code: Select all

{albumArtist}/{albumTitle} [{fileFormat}]/{discNumber}-{trackNumber} {trackTitle}
Output is either:

2-01 Foo.mp3

(if the cd number field is set, for example to 2)


-01 Foo.mp3 (if it is not set.)

Is it possible to have the output string different (no dash) IF discNumber is null?

This way I'd get
01 Foo.mp3 (if the discNumber tag isn't set.)

I'd rather have my multi-disc sets in one folder, with filenames numbered like 1-01, 2-01, than have a seperate folder for each disc, if possible. But if I am dealing with a single disc, there is no need for the prefix.

Post Reply