same behaviour. looks like it did not get into the logging loop.
Does the last working debug script still work?
the script aftter the last 2 edits works. thats the one without the player state.
that polls right, the fader that is up last, that track is displayed
it seems like the last versionn come not to this state:
requesting device data services… 2021/03/12 19:02:47 offers StateMap at port 46061
right which is weird since that section of the code was unchanged, maybe try a restart of your machine / player?
yep … will try that, but don´t think it will change anything. … be back in minutes.
edit: so … after restart the same. only the old version works
thats the version with timestamp: 16:54
It also works with streaming sources
tryed it with tidal xDD
Hmm not sure what happened here, can you try this, just removed the creation of the play state booleans: main.exe.zip (1.7 MB)
now it loggs only the fader state. but no track id.
Ok that’s good though, so something in casting the play state to a boolean broke things. Here’s a script that will log the play state, can you send over the output. main.exe.zip (1.7 MB)
2021/03/12 19:37:19 Started
2021/03/12 19:37:20 192.168.0.17 "prime4" "JC11" "1.6.0"
2021/03/12 19:37:20 192.168.0.17 "Found Device"
2021/03/12 19:37:20 192.168.0.17 "Found StageLinQ Device on Network"
2021/03/12 19:37:20 attempting to connect to this device…
2021/03/12 19:37:20 requesting device data services…
2021/03/12 19:37:21 offers StateMap at port 45247
2021/03/12 19:37:21 map[state:false type:1]
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
2021/03/12 19:37:21 Decks 1-4 line faders: 1:0.000000 2:0.000000 3:0.000000 4:0.000000
Only checks state of deck one. deck two doesnt show play state. also there is no track id.
yep just doing a quick test on deck one, that map / state key is what i needed to know, try this now: main.exe.zip (1.7 MB)
okay … track id is back … but now all the states are gone. also on player one. but it writes data back again in output.txt … so that seems to work again. fader states are showing.
yeah so it should only log out when a player is actually playing, can you try testing fader up, but not playing and confirm that the track doesn’t update yet?
seems it works - only change the txt if a player is up on faderr and playing.
perfect … you got your release candidate xDD
awesome, thank you!!
okay … will rename the main.exe now to unbox_denon_poller.exe and copy it to the unbox program. so it should work with them main program too.
thx.
yep you got it, let me know if any more issues come up.
so, now i have to clean my download folder xDDD
I’ve been watching this with interest and been hooked on the progress.
Thanks @DJDark and @erikrichardlarson for working this out and being a fly on the wall watching it unfold was kinda fun.
Now if only that Mac version worked for me!
When @erikrichardlarson compile it. It should also work for MAC now. I think that language is some cross-language. So it only depends on how you compile it.
I am in a very good mood, that it will also work on MAC in a few moments.