Stop initialising the airplay_gid. Now if it's NULL it means the group UUID is the same as the deviice's pi. Alos airplay_gid is moved to the conn.

This commit is contained in:
Mike Brady
2021-09-01 10:30:24 +01:00
parent d703314c06
commit 7fb8b288f0
-1
View File
@@ -1625,7 +1625,6 @@ int main(int argc, char **argv) {
// Produces a UUID string at uuid consisting of lower-case letters
uuid_unparse_lower(binuuid, uuid);
config.airplay_pi = strdup(uuid);
config.airplay_gid = strdup(uuid); // initially the gid is the same as the pi
// now we need to create the sequence of items for a Bonjour TXT record.
#else