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 !
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 !
发表时间 Mon 09 Jun 25 @ 9:34 am
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.
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.
发表时间 Mon 09 Jun 25 @ 10:11 am
Thanks, what is your plugin ?
And i don't find networkcontrol plugin ?
Could you help me ?
Thanks
And i don't find networkcontrol plugin ?
Could you help me ?
Thanks
发表时间 Mon 09 Jun 25 @ 10:30 am
pfff we simple search i find the networkplugin sorry.
发表时间 Mon 09 Jun 25 @ 10:33 am
Now I need to find how to use the API.
I search this time ;) but I don"t find any documentation.
I search this time ;) but I don"t find any documentation.
发表时间 Mon 09 Jun 25 @ 10:43 am
https://virtualdj.com/wiki/NetworkControlPlugin.html
After that it's just script
After that it's just script
发表时间 Mon 09 Jun 25 @ 10:46 am
Ok got it ! You rock thanks !
发表时间 Mon 09 Jun 25 @ 10:50 am
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
Perhaps there is a better way to do it no ?
Thanks
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
发表时间 Mon 09 Jun 25 @ 1:01 pm
query?script=deck master get_artist_title
发表时间 Mon 09 Jun 25 @ 2:28 pm
ok but it does not take into account if the track is playing.
But at least it saves some api call
But at least it saves some api call
发表时间 Mon 09 Jun 25 @ 3:15 pm
Ok with the combination of
I do what i want.
So 2 calls instead of 6. not bad ! ;)
Thanks
deck master is_audible
I do what i want.
So 2 calls instead of 6. not bad ! ;)
Thanks
发表时间 Mon 09 Jun 25 @ 4:59 pm
query?script=deck master is_audible ? deck master get_artist_title
发表时间 Mon 09 Jun 25 @ 5:40 pm
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 !
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 !
发表时间 Mon 09 Jun 25 @ 6:19 pm
query?script=deck master is_audible ? deck master get_artist_title : get_text ''
发表时间 Mon 09 Jun 25 @ 6:21 pm
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
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
发表时间 Mon 09 Jun 25 @ 8:14 pm
query?script=deck master is_audible ? get_text '`deck master get_artist_title` `deck master get_remix_after_title`' : get_text ''
composite get_* queries need to be consolidated with
get_text '`script grab a thing` outside of the backticks can be raw text `grab another script thing` more raw text if you want'
query?script=deck master is_audible ? get_text '`deck master get_artist_title` `deck master get_remix_after_title`' : get_text ''
发表时间 Mon 09 Jun 25 @ 9:43 pm
Thanks a lot ! it works perfectly !
Here the result :
Here the result :
.gif)
发表时间 Tue 10 Jun 25 @ 4:25 pm