From 6eb8e19664b3389082765de15253080208858aa1 Mon Sep 17 00:00:00 2001 From: Moritz Grimm Date: Sat, 22 Feb 2020 22:39:43 +0100 Subject: [PATCH] Fix setting of the stream name Regression found and reported by zygmund2000 on Github --- NEWS | 1 + src/cfgfile_xml.c | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index 9a26151..c48fbe6 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ Changes in 1.0.1, released on XXXX-XX-XX: * Fix a crash if there is a typo in the setting + * Fix regression setting the stream name. From zygmund2000 on Github. * Minor example and documentation tweaks diff --git a/src/cfgfile_xml.c b/src/cfgfile_xml.c index 4ee21d6..37e9e1f 100644 --- a/src/cfgfile_xml.c +++ b/src/cfgfile_xml.c @@ -155,6 +155,7 @@ _cfgfile_xml_parse_stream(xmlDocPtr doc, xmlNodePtr cur) XML_STREAM_SET(s, sl, cfg_stream_set_public, "public"); XML_STREAM_SET(s, sl, cfg_stream_set_format, "format"); XML_STREAM_SET(s, sl, cfg_stream_set_encoder, "encoder"); + XML_STREAM_SET(s, sl, cfg_stream_set_stream_name, "stream_name"); XML_STREAM_SET(s, sl, cfg_stream_set_stream_url, "stream_url"); XML_STREAM_SET(s, sl, cfg_stream_set_stream_genre, "stream_genre"); XML_STREAM_SET(s, sl, cfg_stream_set_stream_description, "stream_description");