From a14517d752f89f92537c89003ba6a2e7077fe88b Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Tue, 10 Mar 2026 16:12:20 +0000 Subject: [PATCH] When built for AirPlay 2, add pw=true to the Bonjour raop properties if the classic AirPlay password is set. --- bonjour_strings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bonjour_strings.c b/bonjour_strings.c index 194f1cc2..19d63e98 100644 --- a/bonjour_strings.c +++ b/bonjour_strings.c @@ -79,7 +79,8 @@ void build_bonjour_strings(__attribute((unused)) rtsp_conn_info *conn) { txt_records[entry_number++] = "cn=0,1"; txt_records[entry_number++] = "da=true"; txt_records[entry_number++] = "et=0,1"; - + if (config.password != NULL) + txt_records[entry_number++] = "pw=true"; uint64_t features_hi = config.airplay_features; features_hi = (features_hi >> 32) & 0xffffffff; uint64_t features_lo = config.airplay_features;