Closed lucadenhez closed 2 years ago
Fixed by adding this block of code to client.py :)
def update_service(self, zeroconf, service_type, name):
info = zeroconf.get_service_info(service_type, name)
logger.debug(f"Add service {name}")
if self.callback_add is not None:
self.callback_add(info)
Hello!
Whenever I try and use the browser to search for devices, it throws this exception when a device is found:
Here's the code I was trying it out with, used someone else's code too and was presented with the same issue:
browser = AirDropBrowser(AirDropConfig())
browser.start(callback_add = deviceFound)
Thanks for the support, such cool software!