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.
This commit is contained in:
skidoo23 2023-05-04 18:15:13 +02:00 committed by GitHub
parent 31dc8b73b7
commit 4345a656aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"