INTERACT FORUM

More => Old Versions => Media Center 13 (Development Ended) => Topic started by: 221bBS on January 25, 2009, 09:05:25 am

Title: Help with expressions
Post by: 221bBS on January 25, 2009, 09:05:25 am
I'm hoping someone can help me with an expression.

Tags being used:
[Name]
[Genre]
[Name: Base]
[Name: Movement]


I need the expression to  be...

[Name: Base]: [Name: Movement]

but if the [Genre] tag equals "Soundtrack: Score" then I need it to be

[Name: Movement]

Not even sure if this is possible but any hep would be appreciated ;D
Title: Re: Help with expressions
Post by: gappie on January 25, 2009, 09:14:53 am
how about?
Code: [Select]
if(IsEqual([Genre, 0],Soundtrack: Score,8),[Name: Movement],[Name: Base]: [Name: Movement])
not sure how it will react on the : did not test it.

 :)
gab
Title: Re: Help with expressions
Post by: 221bBS on January 25, 2009, 09:46:57 am
It works!  ;D

Thanks for your help and for the quick reply.
Title: Re: Help with expressions
Post by: gappie on January 25, 2009, 10:18:06 am
It works!  ;D

Thanks for your help and for the quick reply.
great that it works... saw i made a small 'mistake', was so involved trying to solve my own expression problem. when you change the 8 in a 1, it is a bit more correct. in case you have longer genre names that contain  "Soundtrack: Score" but should not be taken into this behaviour.

 :)
gab