Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def discover():
"""
Discover all Denon AVR devices in LAN zone.
Returns a list of dictionaries which includes all discovered Denon AVR
devices with keys "host", "modelName", "friendlyName", "presentationURL".
By default SSDP broadcasts are sent up to 3 times with a 2 seconds timeout.
"""
return ssdp.identify_denonavr_receivers()