Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Show only year of entry is in tags

This topic is old and might contain outdated or incorrect information.

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?
 

Posted 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>
 

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

Thank You djdad ;-)
 

Posted Wed 03 Sep 14 @ 3:43 am


(Old topics and forums are automatically closed)