Anmelden:     


Forum: VirtualDJ Technical Support

Topic: Send current track to third party
Hi,

I would like to display on a third party app/system the current track playing.
My use case is being able to display it on a Awtrix display - (It's like a LaMetric device but open source).

Is there a way to acheive that ?

Thanks a lot team !
 

geposted 12 hours ago
tracklist.txt from ...VDJ/history folder
you could pull details on demand with networkcontrol plugin.
For windows I've made plugins that write to a text file the moment the master designation swaps sides.
 

Thanks, what is your plugin ?
And i don't find networkcontrol plugin ?
Could you help me ?
Thanks
 

pfff we simple search i find the networkplugin sorry.
 

Now I need to find how to use the API.
I search this time ;) but I don"t find any documentation.

 

 

Ok got it ! You rock thanks !
 

I made progress ; )

I'm able to get the current song from deck 1 & 2 and if the song is audible.
And after i'm able to send the rigth message based on those values on my display.

But for that I need to call 6 times the query?script API


// DECK 1
1) query?script=deck 1 get_loaded_song 'title'
2) query?script=deck 1 get_loaded_song 'artist'
3) query?script=deck 1 is_audible

// DECK 2
4) query?script=deck 2 get_loaded_song 'title'
5) query?script=deck 2 get_loaded_song 'artist'
6) query?script=deck 2 is_audible


Perhaps there is a better way to do it no ?

Thanks
 

query?script=deck master get_artist_title
 

ok but it does not take into account if the track is playing.
But at least it saves some api call
 

Ok with the combination of
deck master is_audible

I do what i want.
So 2 calls instead of 6. not bad ! ;)

Thanks
 

query?script=deck master is_audible ? deck master get_artist_title
 

Thanks again ;)

So with that if no sound on master i get error:1 else i get the Artist - Title of the deck that is playing.
If 2 decks is playing i got the one with the "biggest crossfader".

Now only one request !
Super cool !
Thanks Big Virtual Dj Master !
 

query?script=deck master is_audible ? deck master get_artist_title : get_text ''
 

I start to understand the syntax
And how i can mix multiple information like title artist and the remix with the key "get_remix_after_title" ?
After i think/hope i can be autonomous ;)

I try
query?script=deck master is_audible ? deck master get_artist_title & deck master get_remix_after_title: get_text ''
but does not work
 

query?script=deck master is_audible ? get_text '`deck master get_artist_title` `deck master get_remix_after_title`' : get_text ''