Connexion rapide:  

Forum: VirtualDJ Skins

Sujet Replace Deck Info

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

In the deck information tab, I'll like to see information from the album and the comment tabs instead of the remix and feat. tab in the performance skin. Now for the remix tab, I've tried changing the "get_remix" to the "get_album" and replace "remix" with "album" however, the deck display info tab was blank. I'm not sure about the feat tab...
 

Posté Mon 15 Mar 21 @ 10:04 pm
"replace remix with album " is just for the skins text color, so leave that be... 'remix' there just refers to a color value defined earlier in the skin .. (color="remix" => <define color="remix" value="#9b9b9b"/> earlier in skin )

action="get_album" should work fine though, for as long as the song actually has album tag
 

Posté Mon 15 Mar 21 @ 10:13 pm
Rune (dj-in-norway) wrote :
"replace remix with album " is just for the skins text color, so leave that be... 'remix' there just refers to a color value defined earlier in the skin .. (color="remix" => <define color="remix" value="#9b9b9b"/> earlier in skin )

action="get_album" should work fine though, for as long as the song actually has album tag


Thanks... However, it didn't work. more changes were needed.

Wrong
<text fontsize="18" color="title" weight="bold" action="get_title_before_remix" important="true"/>
<text fontsize="18" color="remix" action="get_album_after_title" important="true"/>

Correct

<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="album" action="get_album" important="true"/>




The only question I have now is can I space them out...
 

Posté Mon 15 Mar 21 @ 11:18 pm
NicotuxHome userMember since 2014
as it seems you are in a grouping textzone (group='horizontal")
just add a separator in between

always appears:

<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="whatever" text=" - sep - " important="true"/>
<text fontsize="18" color="album" action="get_album" important="true"/>


pre-defined by parameter:

<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="whatever" action="get_artist_title_separator" important="true"/>
<text fontsize="18" color="album" action="get_album" important="true"/>


or just a custom text when needed

<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="whatever" action="get_album & not param_equal '' ? get_text '***' " important="true"/>
<text fontsize="18" color="album" action="get_album" important="true"/>


there are many other possibilities specially to append / prepend with the same color as title or album
or using format instead of action or param_add with text
 

Posté Mon 15 Mar 21 @ 11:43 pm
Knightrin wrote :

Correct
<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="album" action="get_album" important="true"/>
.


there is no color="album" .. unless you defined yourself
Keep color="remix" . This part is purely made up syntax. It could as well be color="green" or color="mycolor". So there is no logic in changing remix to album there ... Unless you also defined earlier in skin what color="album" should mean/refer to ...

But yes, its get_album, not get_album_after_title, so that part is all good ;-)

For simplicity just add some text line to add space or other logic..
<text fontsize="18" color="remix" text=" ( " important="true"/>
<text fontsize="18" color="remix" action="get_album" important="true"/>
<text fontsize="18" color="remix" text=" ) " important="true"/>

For example ;-)

 

Posté Mon 15 Mar 21 @ 11:49 pm
NicotuxHome userMember since 2014
and by the way if it's for having both the separator and the same color all the time
one line will do
<text fontsize="18" color="remix" format=" ( `get_album` ) `" important="true"/>
 

Posté Tue 16 Mar 21 @ 12:12 am
Rune (dj-in-norway) wrote :
Knightrin wrote :

Correct
<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="album" action="get_album" important="true"/>
.


there is no color="album" .. unless you defined yourself
Keep color="remix" . This part is purely made up syntax. It could as well be color="green" or color="mycolor". So there is no logic in changing remix to album there ... Unless you also defined earlier in skin what color="album" should mean/refer to ...

But yes, its get_album, not get_album_after_title, so that part is all good ;-)

For simplicity just add some text line to add space or other logic..
<text fontsize="18" color="remix" text=" ( " important="true"/>
<text fontsize="18" color="remix" action="get_album" important="true"/>
<text fontsize="18" color="remix" text=" ) " important="true"/>

For example ;-)



BOOM!!! It works thanks...

 

Posté Tue 16 Mar 21 @ 12:45 am
Nicotux wrote :
as it seems you are in a grouping textzone (group='horizontal")
just add a separator in between

always appears:

<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="whatever" text=" - sep - " important="true"/>
<text fontsize="18" color="album" action="get_album" important="true"/>


pre-defined by parameter:

<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="whatever" action="get_artist_title_separator" important="true"/>
<text fontsize="18" color="album" action="get_album" important="true"/>


or just a custom text when needed

<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="whatever" action="get_album & not param_equal '' ? get_text '***' " important="true"/>
<text fontsize="18" color="album" action="get_album" important="true"/>


there are many other possibilities specially to append / prepend with the same color as title or album
or using format instead of action or param_add with text


I like this option better...

<text fontsize="18" color="whatever" action="get_album & not param_equal '' ? get_text '***' " important="true"/>



Thanks For You Guys!!!
 

Posté Tue 16 Mar 21 @ 1:03 am
So the next thing is if possible to also add the comment section in the deck info?
 

Posté Tue 16 Mar 21 @ 1:05 am
Knightrin wrote :
So the next thing is if possible to also add the comment section in the deck info?


Can do that same way, but with action="get_comment"
 

Posté Tue 16 Mar 21 @ 1:07 am
NicotuxHome userMember since 2014
it looks you used textually color="whatever" ^^
this is the same as previously... it does not exist unless you defined one
currently stars are written anyway but in default black color
 

Posté Tue 16 Mar 21 @ 1:19 am
Nicotux wrote :
it looks you used textually color="whatever" ^^
this is the same as previously... it does not exist unless you defined one
currently stars are written anyway but in default black color


Yes, sorry... I did change that code...

<text fontsize="18" color="remix" action="get_album & not param_equal '' ? get_text ' ' " important="true"/>
 

Posté Tue 16 Mar 21 @ 1:53 am
Rune (dj-in-norway) wrote :
Knightrin wrote :
So the next thing is if possible to also add the comment section in the deck info?


Can do that same way, but with action="get_comment"


BOOM!!! Thanks... It worked...

<text fontsize="18" color="title" weight="bold" action="get_title" important="true"/>
<text fontsize="18" color="remix" action="get_album & not param_equal '' ? get_text ' ' " important="true"/>
<text fontsize="18" color="remix" action="get_album" important="true"/>
<text fontsize="18" color="remix" action="get_comment & not param_equal '' ? get_text ' ' " important="true"/>
<text fontsize="18" color="remix" action="get_comment" important="true"/>

 

Posté Tue 16 Mar 21 @ 1:55 am


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