The client ids that builds before task 12.11 gave the servers (task 12.19), computed again from the secret of this install so that the entries they left on the servers are recognised as this phone's.
More...
The client ids that builds before task 12.11 gave the servers (task 12.19), computed again from the secret of this install so that the entries they left on the servers are recognised as this phone's.
The old Hello id was yaacc- and the first 16 hexadecimal characters of SHA-256(secret, a zero byte, the canonical text of the endpoint the client connected to); the endpoint was the one the client checked from the typed address (SnapcastClient.check: host[:port], the stream port 1704 when there was no port), in the canonical form of ServerEndpoint#toString() (host names in lower case, IPv4 dotted, IPv6 as eight groups in brackets). That text is not stored anywhere, so the candidates are the forms the old client could have had for a known server: its host with the stream port 1704 (the choice of the server list), with the control port 1705 and with the port the list has for it, plus the address the listen test saved last (typed text, read like the old client read it). A host name the user typed for a server that the list knows by its number (or the other way round) can not be reproduced and stays unrecognised.
Pure Java. The secret is only used here and never leaves; the result is a bounded list ({@value MAX_IDS}), without duplicates, the listen test address first (it is the most likely one), then the servers in the order given.