Roxen.git / server / modules / icecast / icecast.pike

version» Context lines:

Roxen.git/server/modules/icecast/icecast.pike:1: - // This is a roxen module. Copyright © 2001, Roxen IS. + // This is a ChiliMoon module. Copyright © 2001, Roxen IS.      inherit "module"; - constant cvs_version="$Id: icecast.pike,v 1.11 2002/06/14 00:08:58 nilsson Exp $"; + constant cvs_version="$Id: icecast.pike,v 1.12 2002/11/11 01:54:01 mani Exp $";   constant thread_safe=1;      #define BSIZE 16384   #define METAINTERVAL 8192      #include <module.h>   #include <roxen.h>   #include <stat.h>   #include <request_trace.h>   
Roxen.git/server/modules/icecast/icecast.pike:308:       i = ("HTTP/1.0 200 OK\r\n"    "Server: "+roxen.version()+"\r\n"    "Content-type: audio/mpeg\r\n"    "x-audiocast-gengre:"+(meta->gengre||"unknown")+"\r\n"    +((meta->url||url)?"x-audiocast-url:"+(meta->url||url)+"\r\n":"")+    "x-audiocast-name:"+name+"\r\n"    "x-audiocast-streamid:1\r\n"+metahd+    "x-audiocast-public:1\r\n"    "x-audiocast-bitrate:"+(stream->bitrate/1000)+"\r\n" -  "x-audiocast-description:Served by Roxen\r\n" +  "x-audiocast-description:Served by ChiliMoon\r\n"    "\r\n" );    }    else    {    if( id->request_headers[ "icy-metadata" ] )    i = ("ICY 200 OK\r\n"    "Server: "+roxen.version()+"\r\n"    "Content-type: audio/mpeg\r\n"    "icy-notice1:This stream requires a shoutcast compatible player.\r\n" -  "icy-notice2:Roxen mod_mp3\r\n"+metahd+ +  "icy-notice2:ChiliMoon mod_mp3\r\n"+metahd+    "icy-name:"+name+"\r\n"    "icy-gengre:"+(meta->gengre||"unknown")+"\r\n"    +((meta->url||url)?"icy-url:"+(meta->url||url)+"\r\n":"")+    "icy-pub:1\r\n"    "icy-br:"+(stream->bitrate/1000)+"\r\n"    "\r\n" );    else {    werror("MS Player?\n");    protocol = "AudioCast";    i = ("HTTP/1.0 200 OK\r\n"