Stagelinq protocol API availability? (Part 1)

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

adress allready in use. think you have to restart your player and the computer. It has already assigned the ip-adress or port for something else. With a restart it should work. but yes, also try the updated version.

it works at my place.

Brilliant. I’m going to try that.

1 Like

Now it would be a dream, if denon could include this little node.js script in the player itself. so we just have to call the players ip+port (a little inbuild web server which could be skinned) so we only need to add the player adrress to obs.

very nice work. thank you so much for that script.

hmm … can you also poll, if the player is in playing state ? (because when fader gets moved up, and not playing it also changes the now playing to a track, you can´t hear right now.)

Yes was just going to say I need to see what that variable looks like and run a check against it, assuming it’s just a Boolean but will need to test, I’ll send over a script soon to test

1 Like

Last login: Tue Mar 9 17:59:49 on console

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;

2021/03/09 18:00:43 Listening for devices for 15s

2021/03/09 18:00:58 ::1 “OBS_Plug” “Icedream StagelinQ Receiver” “0.0.0”

2021/03/09 18:00:58 Found devices: 1

logout

Saving session…

…copying shared history…

…saving history…truncating history files…

…completed.

Closest I’ve had after a few restarts and Prime 4 restarts. I’ll see ifs anyone else can give it a go for the Prime 4.

Yeah this just seems like your Prime 4 might not be connected right now? Is this still coming back?

It is connected via the ethernet. Strange one.

I’ll keep trying restarts etc and see if I can get to the bottom of it.

EDIT: Sorry but I’ll guess I’ll have to hand over to another Prime 4 owner on here and see if they can make any head of it. It is great progress and you can almost see the finish line. It’s just ironing this out. I’ll keep trying but I think it is something on my machine.

This is how it looks like now:

1 Like

Dopeee I think the browser source width could be wider to prevent the divs from jumping around maybe? Also that’s just the now_playing_horizontal html file you see in the app/src directory so that can be adjusted as you see fit.

Outstanding @erikrichardlarson , take a bow son!!!

1 Like

It´s just cosmetical.

I would just insert a “Carriage Returrn” after Now Playing.The rest starts under that line. So it will not jump arround.

<Works!> just edited the .html and yea!

hmmm … I am thinking if I also could add some artist artwork, because the artist name is given. When I now add the folder with the artiscover as .jpg and mix them with the variable, itt should also display the arttiscover … will check that out.

1 Like

Looking at Tuna, it pulls from last.fm so would be good to get something in the middle, as @icedream did. Maybe there is a way of getting last.fm data for cover art?

1 Like

I got things to work much better by switching the unbox_denon_poller.exe to the one earlier in this thread.

I was hoping that adding a new template would be as simple as adding a .html file and adding it to the select in index.html, but that didn’t work :sweat_smile:

Editing instead, I suppose :upside_down_face:

I got it to somewhat work now, but it switches tracks on play button. Is there way t just show what is currently loaded on each player in each layer all at the same time?

Edit: Now Playing changes on track load as well.