ICY and HTTP
-
- Posts: 7
- Joined: Fri Sep 26, 2008 5:59 am
ICY and HTTP
I'm try to get my web server to broadcast thru port 80, like people exec for a Perl file and they get endless Mp3 data...I would like to send some sort of header first...is there any differences between:
and
thanks
Code: Select all
ICY 200 OK
icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
icy-notice2:SHOUTcast Distributed Network Audio Server/posix v1.6.0rc2<BR>
icy-name:MondoTuccio's Broadcast ***LIVE*** Prove: 19/09/08
icy-genre:Hip-Hop
icy-url:http://www.theartofweb.net
icy-pub:0
icy-br:80
Code: Select all
HTTP/1.1 200 OK
icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
icy-notice2:SHOUTcast Distributed Network Audio Server/posix v1.6.0rc2<BR>
icy-name:MondoTuccio's Broadcast ***LIVE*** Prove: 19/09/08
icy-genre:Hip-Hop
icy-url:http://www.theartofweb.net
Content-Type: audio/mpeg
icy-pub:0
icy-br:80
Re: ICY and HTTP
how do you do to see that? by hyperterminal?
- Jay
- Will work for food (Administrator)
- Posts: 3013
- Joined: Mon Jan 14, 2002 12:48 am
- Location: Next Door
- Contact:
Re: ICY and HTTP
actually just open a command prompt and do telnet localhost 8000 if your shoutcast server is running locally
Then issue "GET / HTTP/1.0"
hit the enter key twice and voila!
Then issue "GET / HTTP/1.0"
hit the enter key twice and voila!
- Jay