1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00

Fix: Push ICY metadata from upstream servers into the format's vc block

This commit is contained in:
Philipp Schafft 2020-10-11 13:18:18 +00:00
parent d388ef1feb
commit 7a3eb6f530

View File

@ -180,6 +180,7 @@ static void filter_shoutcast_metadata (source_t *source, char *metadata, unsigne
memcpy (p, metadata+13, len);
logging_playlist (source->mount, p, source->listeners);
stats_event_conv (source->mount, "title", p, source->format->charset);
format_set_vorbiscomment(source->format, MP3_METADATA_TITLE, p);
yp_touch (source->mount);
free (p);
playlist_push_track(source->history, &source->format->vc);