Stagelinq protocol API availability? (Part 1)

I haven’t managed to get it to come on in green yet, Serato DJ I can but not Denon mode. Started up Unbox when the Prime 4 was already on, I have WiFi off on my MacBook (like you have to in SoundSwitch) and also use LAN connection, still nothing. I will keep going though.

This is something that I wanted to avoid as the Serato mode does this. In Serato mode, I load a track and it is displayed while I’m cuing it up. It can be a few minutes before I drop the track yet it is on screen.

This is an interesting one. I’ll keep my eye out for that.

@icedream I checked your stream (and gave you a follow) and like how that works too. I’m not 100% familiar with Tuna as I think it’s Windows only? Your overlay looks great too.

Yeah that’s possible, let’s try to debug with the djm900 too and see what data comes through when a Pioneer mixer is in the setup.

Nice yeah the Mac version seems to be working once the app is moved from your downloads folder into your documents or apps folder.

The line faders are used, but not the crossfader so that could be causing this behavior? Basically the line faders have to be up for some time before the track is reported out, and bringing up a new deck and down the old one should allow for the new deck to report out. If this is still causing issues I’ll send over a debug script that we can test out to see what’s going on.

1 Like

Is the Windows version still not working at all?

Thank you! :slight_smile: According to the plugin’s page on the OBS site it seems to support Linux as well, but not Mac. I’m kinda abusing it as a middle man for metadata rather than an actual OBS source but it works pretty well for this purpose so far!

1 Like

Hmmm I’ll send over a debug script later and we can take a look at the output to see what’s going on here.

1 Like

nothing at all there ;(

I tried the Windows Version. It polls only one track, and then it gets quiet … Only when I start the polling.exe in the app folder, it seems to read the next track and display it on screen.

Will try to move it out from the download folder an try it on a normal diskspace.

Maybe download folder has any restrictions in windows.

Okay … it stays at it functions. nothing changed when copy it to another folder. Will now also try to restart windows, because it asked for som firewall changings. Maybe we need a restart, before firewall gets updated.

But very nice that it show the tracks when restarting it :wink:

UPDATE:

Windows Nothing is happening!

MAC: It starts from Apps folder, and turns green after a while but only sometimes, not every time. I am not sure what is happening.

So not all four decks are read at the moment which could be part of the issue? Right now it’s just Decks 1 and 2, and their layers. This could be the issue on Mac at least, not sure what’s going on with Windows.

Yeah we’re getting closer, odd that it would poll one track then stop updating, what decks are you transitioning between?

1 Like

From deck one to deck two. In four deck mode i havent checked jet. But I was able to hack a function now. I start the poller manually via my stream deck, and everytime i do a transition ready, i press a key on my streamdeck to start the poller. that works perfect. hope we will get it automatically via fader readout. seems like it only listens once and then it closes the connection. (but the terminal window stays open.) I used the advanced launcher (Bar Raider) with this options: "Max instances 1 - Kill existing instances - Delay of 2 seconds - Show dot if process is running (but that can also be disabled).

Okay the the decks 3 and 4 are invisible for the poller.

(By the way … I forgot: it´s an prime 4)

1 Like

Alright here are two quick debug scripts, you can just unzip and double click to start the script. It should log out to the console the line faders and the deck that is being logged with track details. This should give us a better sense of what the state of the decks is when a track is logged. Also it’s logging all four decks now. Feel free to post your output here if you’re running into issues and we can see what might be going on.

Mac debug script

Windows debug script

1 Like

Four deck mode should work with the debugger below, is there anything printed out before the script closes? Or do the below debug scripts close at all?

it looks like this:

  • 2021/03/09 18:01:28 Listening for devices for 15s
  • 2021/03/09 18:01:28 192.168.0.17 “prime4” “JC11” “1.6.0”
  • 2021/03/09 18:01:44 192.168.0.17 “Found Device”
  • 2021/03/09 18:01:44 192.168.0.17 “Found StageLinQ Device on Network”
  • 2021/03/09 18:01:44 attempting to connect to this device…
  • 2021/03/09 18:01:44 requesting device data services…
  • 2021/03/09 18:01:44 offers StateMap at port 45173
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Decks 1-4 line faders: 1:0.000000 2:1.000000 3:0.000000 4:0.000000
  • 2021/03/09 18:01:44 Deck two logged: 192.168.0.17 Tones and I vs The Sponges Dance Monkey (R-You Bootleg) (Clean Extended)
  • 2021/03/09 18:01:44 Broken Out
  • 2021/03/09 18:01:44 offers Broadcast at port 40305
  • 2021/03/09 18:01:44 offers TimeSynchronization at port 45749
  • 2021/03/09 18:01:44 offers BeatInfo at port 44923
  • 2021/03/09 18:01:44 offers FileTransfer at port 36727
  • 2021/03/09 18:01:44 end of list of device data services

aftter the last prompt it stops. even when I start another deck. (always with fade out and stopped), so only one faderr is open at tthis time, and only one deck is playing at this time. seems, it don´t restart the listening loop. but with this script at my streamdeck I can poll now all four decks, manually but it works.

thanks.

by the way: the script window stays open. I have to close it manually.

awesome thanks for this, I’m not too familiar with go but I’m just going to comment out the piece that breaks the loop over the deck state here since I think the loop will exit on it’s own:

Just updated the code, can you try this debug script now? thanks again for helping here!

I think it isn’t running right on my Mac. I get:

Last login: Tue Mar 9 17:39:38 on ttys000 The default interactive shell is now zsh. To update your account to use zsh, please run chsh -s /bin/zsh. For more details, please visit https://support.apple.com/kb/HT208050. Chriss-MBP:~ Wilks$ /Users/Wilks/Downloads/unbox_denon_poller ; exit; panic: listen udp :51337: bind: address already in use goroutine 1 [running]: main.main() /Users/erik.larson/Documents/unbox_electron/unbox/src/denon/unbox_denon_poller.go:237 +0x9bc logout

Perfect. With this script it works now. It automatically changes when fader gets moved to the actual track!

good work man!

1 Like

Hmm can you try this script? This is what @DJDark was able to get working

awesome I’ll add this to the release once @MrWilks can get it working on mac as well

thank you!

1 Like