I’ve been at this for days now and not making any progress. You can follow my discussion here:
https://www.reddit.com/r/musichoarder/comments/1g71h4s/need_some_help_with_a_picard_script/
I am trying to make a script that creates separate folders for each disc in a multi disc album, but only if there is more than 1 disc in that album.
From another discussion, I tried all of these and none seem to create a “CD” folder.
$if2(%albumartist%,%artist%)/$left(%originaldate%,4) - %album%/$if($gt(%totaldiscs%,1),CD %discnumber%/,)$num(%tracknumber%,2)-%artist%-%title%), ,_)
%artist%/%album% ($if(%date%,$left(%date%,4)))/$if($gt(%totaldiscs%,1),CD $num(%discnumber%,2))/$num(%tracknumber%,2)-%title%
%artist%/%album% ($if(%date%,$left(%date%,4)))/$if($gt(%totaldiscs%,1),CD $num(%discnumber%,2))/$num(%tracknumber%,2)-%title%
%artist%/%album% $if(%date%,($left(%date%,4)))/$if($gt($num(%totaldiscs%,$len(%totaldiscs%)),1),CD $num(%discnumber%,2))/$num(%tracknumber%,2)-%title%
The multi disc album I am testing on is definitely detected as multidiscs (3 in this case) as picard shows “DISCTOTAL 3” in the summary window when only loading that album into picard. If I remove the “$if($gt(%totaldiscs%,1),” or it’s variations in the above attempts, it will create a “CD” folder but I want it to only create a CD folder if there is more than one DISC, not for every album.
I am using picard v2.12.3. It seems like this should be simple and some version of the scripts above should work, but none are working correctly on both multi disc albums and single disc albums.
Any ideas anyone?