Since there's no guarantee whatsoever on ordering of network interfaces returned by QNetworkInterface::allInterfaces() which QLC+ relies on, I'm having a lot of troubles with many installations.
I'm using Raspberry Pi 3 with QLC+ software. I have an ArtNet controller on Ethernet interface (2.3.4.5) and I have WiFi hotspot on wlan0 interface (192.168.42.1), because I want to allow the customer to change scenes by connecting to WiFi hotspot.
After reboot, there's no guarantee which network interface will be selected by QLC+ - "2.3.4.5" or "192.168.42.1".
The QXW file specifies only:
Code: Select all
<Output Plugin="ArtNet" Line="1"/>
Please implement sorting of network interfaces, so that "line 1" is always the same. I prefer using IP address+subnet mask instead of line number. In rare cases when QLC+ can't find the interface with specified IP address/subnet it should fall back to (e.g.) localhost or first interface after that.
Minimal change to the format of QXW file would be adding a "hint" property with selected IP address:
Code: Select all
<Output Plugin="ArtNet" Line="1" IP="2.3.4.5"/>