Connexion rapide:  

Forum: VirtualDJ Skins

Sujet VDJ script verb get_loaded_song parameters

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

alucasCUE userMember since 2008
Is there a list somewhere of the parameters that can be applied to the get_loaded_song verb in VDJ script?
 

Posté Tue 31 May 16 @ 1:37 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Its get_loaded_song 'BrowserField' so use the names of the Browser fields you see on the Headers. (Artist, title, Genre, Play Count; etc.
 

Posté Tue 31 May 16 @ 4:37 am
alucasCUE userMember since 2008
Thank you for your help. So there isn't an equivalent to format="%Ppitch" in a <textzone"?
 

Posté Tue 31 May 16 @ 6:58 am
For pitch, you won't use the "get_loaded_song" action

For pitch you use <text format="%Ppitch"/>

Full example:
<textzone>
<size width="75" height="25" />
<pos x="205" y="200"/>
<text format="%Ppitch"/>
</textzone>
 

Posté Tue 31 May 16 @ 7:08 am
alucasCUE userMember since 2008
Thank you for your help. I have been using

<text format="%Ppitch%%"/>

but I wanted to display only the integer part. I thought if I could use an action instead of a format then I could use param_cast 'integer'

(I had already successfully used action="get_bpm & param_cast 'integer'")

and I have now found the verb get_pitch which actually returns an integer (unlike get_bpm). So my next question is: is there a way to add the"%" character to the text displayed? (Apologies for asking the wrong question in the first place but the answer was nevertheless useful).

(Incidentally, get_pitch does not appear in the "get" part of the verb list, only in the "pitch" part).
 

Posté Wed 01 Jun 16 @ 8:13 pm
action="get_text '`get_pitch` %'"

(Copy paste the text)
 

Posté Wed 01 Jun 16 @ 9:02 pm
alucasCUE userMember since 2008
Excellent. Thank you for your help.
 

Posté Thu 02 Jun 16 @ 1:22 am


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