Commit 1f92e2ab authored by Karl Heyes's avatar Karl Heyes

setting an interval of 0 in mount should disable shoutcast metadata inserts.

svn path=/icecast/trunk/icecast/; revision=16439
parent 5f927335
......@@ -206,12 +206,12 @@ static void format_mp3_apply_settings (client_t *client, format_plugin_t *format
if (mount)
{
if (mount->mp3_meta_interval > 0)
if (mount->mp3_meta_interval >= 0)
source_mp3->interval = mount->mp3_meta_interval;
if (mount->charset)
format->charset = strdup (mount->charset);
}
if (source_mp3->interval <= 0)
if (source_mp3->interval < 0)
{
const char *metadata = httpp_getvar (client->parser, "icy-metaint");
source_mp3->interval = ICY_METADATA_INTERVAL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment