Total CD help

OK here is my problem now, this is what I have

$if($gt(%totaldiscs%,1),[%totaldiscs%,)$if(%media%,%media%] ,)
What needs to change here so that Media always shows in [Brackets] but the total disks of media only show when there is more that one in the same brackets?
example:
[CD] or
[3CD]

if you put the whole thing inside the if statement looking for a media type, then you can put the first bracket outside the totaldiscs if.

$if(%media%,[$if($gt(%totaldiscs%,1),%totaldiscs%,)%media%] ,)

This is to handle those few releases that don’t have a media type, like pseudo-releases. I’m assuming that you wouldn’t want the bare number in between the brackets if there isn’t a media type.

2 Likes

@Billy_Yank You rock, It’s perfect works great Hmmm what else do I need… :wink: