To explain, my Zen Vision:M doesn't support discnumbers. Since I don't want my navigation bloated with 4 "albums" for a 4-CD album by sticking (Disc x) at the end of the album tag, I've stuck the discnumber in front of the actual tracknumber. For example, Disc 1 track 20 becomes track 120.
Since foobar2000 has the nasty feature of turning tracknumbers from 128-156 and 384-412 into negative numbers starting at -128 and counting up to -100, I've tried to fix my tracknumber column to negate that fact.
What I want, is:
if -99 > track and discnumber = 1, then add 256 to track, else
if -99 > track and discnumber = 3, then add 512 to track, else
if -99 > track and discnumber = 4, then add 512 to track, else
%tracknumber%
I've only ever been able to get one script to work though:
$if($greater(-99,%tracknumber%),$add(%tracknumber%,256),%tracknumber%)
^this, unfortunately, doesn't take discnumber into account, so the tracknumbers are still inaccurate if they rise to 384 or higher. I've tried to stick $and($if...,$if...) into there, but it never works.
Can anyone help me with this display script, or is it even possible to get a conditional statement to do what I want?
