Help plz: How to create multi disc subfolders with Picard

musicbrainz
picard
multidisc
Tags: #<Tag:0x00007fe3cfd65ff0> #<Tag:0x00007fe3cfd657d0> #<Tag:0x00007fe3cfd64ad8>

#1

Hi,

i started using Picard today, managed so far to get it to do what i want
but i’m struggling to create subfolders if a release has more than one disc.

This is what i use:

$if2(%albumartist%,%artist%)/$left(%originaldate%,4) - %album%/$if($gt(%totaldiscs%,1),%discnumber%-,)$replace($lower($num(%tracknumber%,2)-%artist%-%title%), ,_)

But with multi disc releases, it puts all files in one folder.
How can i edit the code so that it creates a subfolder “CD01”, “CD02” etc if there are more than one disc?

I’ve read various posts and tried a few things, but so far, no success.

Help is appreciated.


#2

#3

Thx, that works. :slight_smile:
It names the multi disc folders now “Disc 1”, “Disc 2” etc.

For the few releases i own with more than 9 cds i’ll just manually add a zero before the disc number.


#4

Use

$num(%discnumber%,2)