Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet Question about this command > search `get_browsed_song 'title'`
Question about this command > search `get_browsed_song 'title'`

This command returns all artists with the corresponding title in the search bar.
But I would like to pass the following characters " " to limit the search, what should the command look like?

so that the following appears in the search bar > "title" (not like that > title)
thanks !
 

Posté Thu 14 Sep 23 @ 9:37 am
Benz Werner wrote :
Question about this command > search `get_browsed_song 'title'`

This command returns all artists with the corresponding title in the search bar.
But I would like to pass the following characters " " to limit the search, what should the command look like?

so that the following appears in the search bar > "title" (not like that > title)
thanks !


 

Posté Thu 14 Sep 23 @ 10:44 am
think this is what you are looking for:

get_text '"`get_browsed_song title`"' &  param_cast text & search 

would work in a custom button or mapper or padpage.

if used in a skin, believe that the " would need to be replaced with & q u o t ; (without the spaces) so as not to incorrectly interpreted by the skin xml.

-----------
So if the loaded track is Dua Lipa - Love Again

the search field is populated with: "Love Again"
 

Posté Thu 14 Sep 23 @ 1:20 pm
Hi IIDEEJAYII,
Thank you very much, it works great for the title or artist !!!!!

But how do I link both, i.e. title and artist at the same time ?

 

Posté Thu 14 Sep 23 @ 3:09 pm
do you mean in the above example to have
"Dua Lipa" "Love Again"
in the search field if the loaded track is Dua Lipa - Love Again

That would be:

get_text '"`get_browsed_song artist`" "`get_browsed_song title`"' & param_cast text & search




Or do you want the search to be
"Dua Lipa Love Again"

get_text '"`get_browsed_song artist` `get_browsed_song title`"' & param_cast text & search
 

Posté Thu 14 Sep 23 @ 4:21 pm
@IIDEEJAYII.
The first one is exactly right for me !!!
thanks Werner
 

Posté Thu 14 Sep 23 @ 5:02 pm