Skip to content
Snippets Groups Projects
Commit 77f85d99 authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

SSDP discovery: fixed macOS compatibility

parent ab8ffe25
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ def find_flamenco_manager(timeout=1, retries=5): ...@@ -81,7 +81,7 @@ def find_flamenco_manager(timeout=1, retries=5):
# sending it more than once will # sending it more than once will
# decrease the probability of a timeout # decrease the probability of a timeout
sock.sendto(DISCOVERY_MSG, (dest, 1900)) sock.sendto(DISCOVERY_MSG, (dest, 1900))
except PermissionError: except (PermissionError, OSError):
log.info('Failed sending UPnP/SSDP discovery message to %s, dest=%s', family, dest) log.info('Failed sending UPnP/SSDP discovery message to %s, dest=%s', family, dest)
failed_families += 1 failed_families += 1
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment