made a broadcast ip

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 17:27:34 +01:00
parent 321dd3b9ed
commit 9415f6b0e0
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ artnetUniverse = 0
# Creates Artnet socket on the selected IP and Port # Creates Artnet socket on the selected IP and Port
artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60) artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60)
tuple_ip = tuple(str(get_eth0_ip()).split("."))+(6454,) tuple_ip = tuple(str(get_eth0_ip()).split(".")[:-1])+(0,)
print(tuple_ip) print(tuple_ip)