Hi, I've had a few problems with broadcasting an icecast2 playlist with peercast. The problem is that when getting the m3u file, the response isn't terminiated with a newline (\n or \r\n). peercast doesn't particularily like this. I've submitted a patch to peercast for this, but I wonder if icecast2 should add the \r\n to the end. Maybe there's some more buggy software around that doesn't work as well (xmms does thankfully!). Anyway, here's a patch that does the trick. Cheers, Paul. -------------- next part -------------- --- ../icecast/src/connection.c.~1.69.~ 2003-04-27 20:48:02.000000000 +1000 +++ ../icecast/src/connection.c 2003-04-27 22:19:33.000000000 +1000 @@ -745,7 +745,7 @@ bytes = sock_write(client->con->sock, "HTTP/1.0 200 OK\r\n" "Content-Type: audio/x-mpegurl\r\n\r\n" - "http://%s:%d%s", + "http://%s:%d%s\r\n", host, port, sourceuri
This has been committed. On Sunday, 27 April 2003 at 22:26, Paul Bryan wrote:> Hi, I've had a few problems with broadcasting an icecast2 playlist with peercast. The problem is that when getting the m3u file, the response isn't terminiated with a newline (\n or \r\n). peercast doesn't particularily like this. > > I've submitted a patch to peercast for this, but I wonder if icecast2 should add the \r\n to the end. Maybe there's some more buggy software around that doesn't work as well (xmms does thankfully!). Anyway, here's a patch that does the trick. >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.