Connexion rapide:  

Forum: VirtualDJ Skins

Sujet Show only year of entry is in tags

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

Hello, is it possible that the parentheses around the year, and the hyphen before the genre will only be displayed if it is getaged?

<text2 font="Arial" size="26" color="#BBBBBB" align="center" scroll="yes" format="`get_album` (`get_year`) - `get_genre`"/>

For example:
If Album, Year and Genre tagged ist shows: Best of Album (2010) - House
If no taggged: (0) -
or "Best of Album (0) -

If there a solution to solve this problem?
 

Posté Wed 03 Sep 14 @ 12:25 am
djdadPRO InfinityDevelopment ManagerMember since 2005
One quick way would be to have 2 different textzones with visibility depending on the Year value.
e.g.
<textzone ... visibility="get_year & param_equal 0 ? true : false">
...
<text ... format="`get_album` - `get_genre`"/>
</textzone>

<textzone ... visibility="get_year & param_equal 0 ? false : true">
...
<text ... format="`get_album` (`get_year`) - `get_genre`"/>
</textzone>
 

Posté Wed 03 Sep 14 @ 1:40 am
schuzuPRO InfinityMember since 2013
cooool, it works fine

Thank You djdad ;-)
 

Posté Wed 03 Sep 14 @ 3:43 am


(Les anciens sujets et forums sont automatiquement fermés)