Open jasonmf opened 5 months ago
I assume since they're all SC5000 devices they also transmit with the same device name, so that's not something that could be used. Really, the only thing that would technically be different (that the library has access to right now) is probably the connection the data is coming from and the device token that was presented before building said connection - and I'm not even sure if that device token changes every now and then as well.
Might need a bit more of a think about that.
Is there a way to differentiate between devices?
I'm developing an OBS overlay to display the currently playing track in each channel. On the Prime 4(+) I get messages with state names
/Engine/Deck[1-4]/.*
. so from that device I can easily differentiate the four channels. From a pair of SC5000 I get messages from them both and they're each sending/Engine/Deck[12]/.*
, so purely parsing the state name isn't enough.For a given session, I can differentiate between devices by IP address, but between sessions the devices may get different addresses via DHCP. I'd like to get some durable identifier that I can combine with the
Deck.
portion of the name to keep the channel ordering consistent in the overlay. I can potentially use ARP to get the MAC address associated with the device's IP and use that, but it would be nice if there were something directly in StagelinQ.