Commit d4abe04f authored by Karl Heyes's avatar Karl Heyes

send StreamTitle in metadata when reading from intro file

svn path=/icecast/trunk/icecast/; revision=9417
parent e84ce44d
......@@ -291,8 +291,17 @@ static int send_mp3_metadata (client_t *client, refbuf_t *associated)
}
else
{
metadata = "\0";
meta_len = 1;
if (associated)
{
metadata = "\0";
meta_len = 1;
}
else
{
char *meta = "\001StreamTitle='';";
metadata = meta + client_mp3->metadata_offset;
meta_len = 17 - client_mp3->metadata_offset;
}
}
ret = client_send_bytes (client, metadata, meta_len);
......
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