登录:     


Forum: VirtualDJ Skins

Topic: && in (video) skin.
Hi,

I would like to show an item only when 2 conditions are true.

- The GENRE of the loaded song has to be CORTINA
- The Elapsed time should be less than 10 seconds.

param_equal Cortina `get_automix_song 'Genre' 0 && param_greater 10000 `get_time 'elapsed' 1000` ? yes : no

But now I need to place this in the visibility tag, and it's not working. I have also tried && but no result either.

<item visibility="param_equal Cortina `get_automix_song 'Genre' 0 && param_greater 10000 `get_time 'elapsed' 1000` ? yes : no">

Both conditions separately are working.

<item visibility="param_equal Cortina `get_automix_song 'Genre' 0 ? yes : no">
<item visibility="param_greater 10000 `get_time 'elapsed' 1000` ? yes : no">

Thank you in advance.
 

发表时间 2 days ago @ 1:36 am
You should nest your queries:

visibility="param_equal Cortina `get_automix_song 'Genre' 0 ? param_greater 10000 `get_time 'elapsed' 1000`"


Please use the SKINS forum for skin coding related questions.
Thank you
 

Yes, I found that out. Thank you.