guest598594 commented on a Page, Radio Script  -  Oct 28, 2008

I just did an echo -a %t in the sockread, and before all that crap I got:

ICY 200 OK
icy-notice1:
This stream requires Winamp

icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.8

icy-name:Titan Sounds
icy-genre:Various
icy-url:http://www.titansounds.com
content-type:audio/mpeg
icy-pub:1
icy-br:56

Not sure what to do with it though.

Edit: ah, I guess you have to add this to the sockopen: sockwrite -n $sockname User-Agent: SHOUTcast Song Status (Mozilla Compatible)

But just check out the other shoutcast snippets, it's pointless revising this one.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.