快速登录:  

Forum: VirtualDJ Skins

话题: Show only year of entry is in tags

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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?
 

发表时间 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>
 

发表时间 Wed 03 Sep 14 @ 1:40 am
schuzuPRO InfinityMember since 2013
cooool, it works fine

Thank You djdad ;-)
 

发表时间 Wed 03 Sep 14 @ 3:43 am


(陈旧帖子或论坛版块会自动关闭)