Total CD help

#1

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]

#2

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
#3

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