From 9415f6b0e055fd17f16b319ff0d511b14d92d520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 17:27:34 +0100 Subject: [PATCH] made a broadcast ip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/exampleReceiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/exampleReceiver.py b/server/exampleReceiver.py index 201eff1..75c324c 100644 --- a/server/exampleReceiver.py +++ b/server/exampleReceiver.py @@ -27,7 +27,7 @@ artnetUniverse = 0 # Creates Artnet socket on the selected IP and Port 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)