simplemonitor
simplemonitor copied to clipboard
Support for Bonjour?
Thinking about adding a monitor type for bonjour / dns-sd services
On Linux, it would basically just run "avahi-resolve
I'm thinking it would more or less be a variant of or reuse part of the MonitorHost class https://github.com/jamesoff/simplemonitor/blob/develop/simplemonitor/Monitors/network.py#L217 ?
I would be willing to have a go at adding it for Linux, but I don't know how to do it on Windows or Mac.
I'm happy to have Monitors which only work on certain platforms, there's already a few like various "service" ones and the Windows DHCP one, for example.
There's an is_windows() on Monitor, so you could add an is_linux() which does a similar check (based on platform) and use that; raise a RuntimeError if the monitor is loaded on a non-Linux platform.