Stagelinq protocol API availability? (Part 1)

I’ve finally connected my X1850 to my PC, but unbox is not going green. To be precise X1850 is connected to Ethernet port on PC, but internet on that PC is via Wi-Fi so networks are separate.

Latest main.exe gives the following result:

2021/03/16 18:24:15 Listening for devices for 5s
2021/03/16 18:24:15 Discovery looping
2021/03/16 18:24:15 Started
2021/03/16 18:24:20 127.0.0.1 "OBS_Plug" "Icedream StagelinQ Receiver" "0.0.0"
2021/03/16 18:24:20 Added this device: 127.0.0.1 "OBS_Plug" "Icedream StagelinQ Receiver" "0.0.0"
2021/03/16 18:24:20 Found devices: 1

Update, manually turned Firewall off for Denon network and now everything works. I guess I should’ve tried it first. Weird though, as I did let unbox through Firewall when it asked.

This was what I had to do the other day.

I’m not sure if there is anything we can get around it? Maybe a firewall rules tweak is needed as connections are granted upon opening Unbox.

@erikrichardlarson I am playing a bit with unbox now. I would really love to have previous track information also accessible via .txt file. I use custom layout/fonts and it would be much more flexible.

You can currently access the json representation of the history, does that work?

You can find it at: localhost:8080/rekordbox_stream_history.json

1 Like

Yeah so it’s checking the first deck with the fader set above .99, which is why the song change happens here since deck 1 hits .97. The script should’ve followed what was being played out, was that the case?

2021/03/16 13:09:38 Decks 1-4 line faders: 1:1.050000 2:1.270000 3:0.000000 4:0.000000
2021/03/16 13:09:38 Deck one logged: 192.168.1.101 Ge Bruny & Kaito Aman Subspace (Original Mix)
2021/03/16 13:09:38 Decks 1-4 line faders: 1:0.970000 2:1.270000 3:0.000000 4:0.000000
2021/03/16 13:09:38 Deck two logged: 192.168.1.101 Golan Zocher, Greenage Alhena (Original Mix)

This is likely happening because another instance of the script is running or unbox is open at the same time this script is running, try running unbox on its own and see if it goes green in the app. Let us know if you run into issues.

No. I always open channel fader 100% until i hear the click sound of fader reaching its max point :stuck_out_tongue:

I can provide a video if its needed.

Not running The app

Gotcha, yeah a video would be helpful here thanks!

I made a two videos. In the videos you can hear my kid playing nearby.

Video of Unbox: Unbox - YouTube

Video of main.exe: main.exe - YouTube

Logs from main.exe video: logs.txt (39.2 KB)

Awesome thanks for the videos, just took a look and this seems to be working as expected since we don’t look at the cross fader right now. If the cross fader was set to the middle then the track you’re hearing would follow what you see in unbox. Do you adjust the cross fader as well? If you do, we can bring that in and make sure it isn’t set to a side that is preventing the track from being heard.

I have crossfader set to thru, because I don’t use it. I don’t know if it is a issue?

The app stopped working at about 1:24:00 . No song change is shown on the screen anymore.

Stopped working with this song sadly no music anymore on twitch. If you want to hear you can watch it here: DLive

1 Like

Seems like it’s working at that timestamp? Was there another timestamp where it failed?

It looks like it was set to the right in the video which would prevent the left deck from being heard, but if it was set in the middle I think the current fader variables would follow what your listeners hear you play, does that make sense?

The song at 1:24:00 is the last song that came up.

Ah I see, hard to know what happened without seeing some logs, I’ll have to ship a version that stores the logs somewhere so crashes like this can be analyzed. Any idea when you’re streaming next?

No. I set crossfader to Thru so it’s disable. It doesn’t matter if it’s in the middle, on the right or on the left. It always let’s thru 100% of deck 1 and 2 all the time.

I will make new video with all the explanations needed.

Ahh gotcha, this effectively means the cross fader is set in the middle right? So the heard track should still follow what is being reported out in the app since bringing the fader up past .99 means a track is heard. Maybe send a video of you doing a mix and we can see if the app follows your mix?