qlcplus icon indicating copy to clipboard operation
qlcplus copied to clipboard

Set E1.31 multicast address from universe number

Open sparkyb opened this issue 5 years ago • 4 comments

Right now when you set an E1.31 output to multicast, it only lets you edit the last octet of the multicast address. The E1.31 multicast address is supposed to match the universe number. By only allowing editing of the last octet, this limits QLC+ to using only the first 255 E1.31 universes, and not universes 256-63999. Also, by requiring the multicast address to be entered manually, it requires type the universe number twice to have it correctly match the universe number, and allows likely erroneous mismatches of the address and universe number. This patch makes the multicast address uneditable and sets it automatically to make the universe number, correctly handling all 64,000 universes.

sparkyb avatar Nov 08 '19 14:11 sparkyb

Hi,

Yes, being able to send to mcast addresses for universes more than 255 would be nice. However, I like being able to manually change the multicast address. I have a weird use case, but I actually use this feature (target devices listen to 1 mcast address, but handle more than 1 universe) What about adding a "guess from universe number" button in the E1.31 config menu ? When clicking it, the address would be automagically changed.

plugz avatar Nov 08 '19 17:11 plugz

@plugz Do you only need this for output or also input? Because for output you can actually just uncheck "multicast" and enter a multicast address as the unicast address and there is no difference. That trick doesn't work for input though.

sparkyb avatar Nov 08 '19 18:11 sparkyb

I too would allow to edit at least the last two octets, so users can force a specific address. Most likely users will use the auto-generated address but a few will need editing. Since more than 2 years passed on this (sorry about that) I can pick this up myself.

mcallegari avatar Feb 28 '22 14:02 mcallegari

Sorry, I've gotten busy with other things. I still wanted to finish this at some point, but if you have time to pick it up sooner, that's great.

sparkyb avatar Feb 28 '22 16:02 sparkyb

See cb3cc67540f15f84391e2666e440c905928070f0

mcallegari avatar Oct 30 '22 23:10 mcallegari