From 6a2953f7423ff8c00b35428a7aaf69f7f1313b64 Mon Sep 17 00:00:00 2001 From: Jaxc Date: Wed, 29 Nov 2023 13:41:32 +0100 Subject: [PATCH] Change broadcast address to 255.255.255.255 --- PyStageLinQ/PyStageLinQ.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PyStageLinQ/PyStageLinQ.py b/PyStageLinQ/PyStageLinQ.py index 05d4e58..6b30d19 100644 --- a/PyStageLinQ/PyStageLinQ.py +++ b/PyStageLinQ/PyStageLinQ.py @@ -32,7 +32,7 @@ class PyStageLinQ: REQUESTSERVICEPORT = 0 # If set to anything but 0 other StageLinQ devices will try to request services at said port StageLinQ_discovery_port = 51337 - ANNOUNCE_IP = "169.254.255.255" + ANNOUNCE_IP = "255.255.255.255" _loopcondition = True @@ -236,6 +236,7 @@ async def _wait_for_exit(self): for task in self.tasks.copy(): if task.done(): if task.exception() is not None: + self.stop() raise task.exception() return await asyncio.sleep(1)