async def discover(ignore_list=[], max_wait=<NUM_LIT:30>, loop=None):
stbs = []<EOL>try:<EOL><INDENT>async with timeout(max_wait, loop=loop):<EOL><INDENT>def responses_callback(notify):<EOL><INDENT>"""<STR_LIT>"""<EOL>_LOGGER.debug("<STR_LIT>", notify.ip_address)<EOL>stbs.append(notify.ip_address)<EOL><DEDENT>mr_protocol = await install_mediaroom_protocol(responses_callback=responses_callback)<EOL>await asyncio.sleep(max_wait)<EOL><DEDENT><DEDENT>except asyncio.TimeoutError:<EOL><INDENT>mr_protocol.close()<EOL>_LOGGER.debug("<STR_LIT>")<EOL><DEDENT>return list(set([stb for stb in stbs if stb not in ignore_list]))<EOL>
List STB in the network.