'Method called when a new Zeroconf client is detected.
Return True if the zeroconf client is a Glances server
Note: the return code will never be used'

def add_service(self, zeroconf, srv_type, srv_name):

    if (srv_type != zeroconf_type):
        return False
    logger.debug(('Check    new    Zeroconf    server:    %s    /    %s' % (srv_type, srv_name)))
    info = zeroconf.get_service_info(srv_type, srv_name)
    if info:
        new_server_ip = socket.inet_ntoa(info.address)
        new_server_port = info.port
        self.servers.add_server(srv_name, new_server_ip, new_server_port)
        logger.info(('New    Glances    server    detected    (%s    from    %s:%s)' % (srv_name, new_server_ip, new_server_port)))
    else:
        logger.warning('New    Glances    server    detected,    but    Zeroconf    info    failed    to    be    grabbed')
    return True
