From 5f33b9c08799de0190e384ee36f77929f6539064 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Sat, 21 Mar 2020 12:40:05 +0000 Subject: [PATCH] Added extra properties to zeroconf service info --- labthings/server/wsgi/gevent.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/labthings/server/wsgi/gevent.py b/labthings/server/wsgi/gevent.py index 8b7b2265..1646f75b 100644 --- a/labthings/server/wsgi/gevent.py +++ b/labthings/server/wsgi/gevent.py @@ -41,7 +41,11 @@ def run( "_labthings._tcp.local.", f"{self.labthing.title}._labthings._tcp.local.", port=port, - properties={"path": self.labthing.url_prefix}, + properties={ + "path": self.labthing.url_prefix, + "title": self.labthing.title, + "description": self.labthing.description, + }, addresses=set( [ socket.inet_aton(i)