From 4345a656aa49de5ca89213060e944cab586a1340 Mon Sep 17 00:00:00 2001 From: skidoo23 Date: Thu, 4 May 2023 18:15:13 +0200 Subject: [PATCH] output/httpd: fix libfmt icy-metaint replacement field Since using libfmt (commit: dfc5b49) ICY MetaData was broken. Eg MP3 streams encoded with LAME were affected resulting in missing stream titles on VLC or strange noises on Sonos hardware. This commit fixes the icy-metaint field. --- src/output/plugins/httpd/IcyMetaDataServer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/plugins/httpd/IcyMetaDataServer.cxx b/src/output/plugins/httpd/IcyMetaDataServer.cxx index 5a3d6669c..8bc0cbd24 100644 --- a/src/output/plugins/httpd/IcyMetaDataServer.cxx +++ b/src/output/plugins/httpd/IcyMetaDataServer.cxx @@ -21,7 +21,7 @@ icy_server_metadata_header(const char *name, "icy-genre: {}\r\n" /* TODO */ "icy-url: {}\r\n" /* TODO */ "icy-pub:1\r\n" - "icy-metaint:%d\r\n" + "icy-metaint:{}\r\n" /* TODO "icy-br:%d\r\n" */ "Content-Type: {}\r\n" "Connection: close\r\n"