From c5e38ed853331f8642108c051acd0e7e7e645d58 Mon Sep 17 00:00:00 2001 From: Patrick762 Date: Thu, 15 Jun 2023 16:46:18 +0200 Subject: [PATCH] exclude latest ssdp version --- setup.py | 4 ++-- streamdeckapi/server.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 1d1f8b4..b904e65 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ here = os.path.abspath(os.path.dirname(__file__)) with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh: long_description = "\n" + fh.read() -VERSION = "0.0.7" +VERSION = "0.0.8" DESCRIPTION = "Stream Deck API Library" # Setting up @@ -32,7 +32,7 @@ setup( "streamdeck==0.9.3", "pillow>=9.4.0,<10.0.0", "cairosvg==2.7.0", - "ssdp", + "ssdp!=1.2.0", ], keywords=[], entry_points={ diff --git a/streamdeckapi/server.py b/streamdeckapi/server.py index 877519d..be065fc 100644 --- a/streamdeckapi/server.py +++ b/streamdeckapi/server.py @@ -574,7 +574,7 @@ class StreamDeckApiSsdpProtocol(ssdp.SimpleServiceDiscoveryProtocol): print("Sending a response back to %s:%s", *addr) address = get_local_ip() - location = f"http://example.net:{PLUGIN_PORT}/device.xml" + location = f"http://{address}:{PLUGIN_PORT}/device.xml" usn = f"uuid:{str(uuid4())}::{SD_SSDP}" server = "python/3 UPnP/1.1 ssdpy/0.4.1"