From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Mon, 6 Dec 2021 18:14:23 +0000 (+0000) Subject: Don't ask for cover art if not asking for metadata too. Duh. X-Git-Tag: 4.1-rc1~24^2~366^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b9f2e1c53ede54dcbfba551bc534d2efd43c557;p=thirdparty%2Fshairport-sync.git Don't ask for cover art if not asking for metadata too. Duh. --- diff --git a/shairport.c b/shairport.c index 9b7648e3..b1faf5c9 100644 --- a/shairport.c +++ b/shairport.c @@ -1807,11 +1807,12 @@ int main(int argc, char **argv) { #ifdef CONFIG_METADATA // If we are asking for metadata, turn on the relevant bits - if (config.metadata_enabled != 0) + if (config.metadata_enabled != 0) { config.airplay_features |= (1 << 17) | (1 << 16); // 16 is progress, 17 is text - // If we are asking for artwork, turn on the relevant bit - if (config.get_coverart) - config.airplay_features |= (1 << 15); // 15 is artwork + // If we are asking for artwork, turn on the relevant bit + if (config.get_coverart) + config.airplay_features |= (1 << 15); // 15 is artwork + } #endif debug(1, "Features: 0x%" PRIx64 ".", config.airplay_features);