[icecast-dev] ice-metadata header incomplete?

Colin Snover colin at zetafleet.com
Mon Jan 13 18:09:50 PST 2003



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to write a PHP script that communicates with the Icecast2 server
directly to retrieve current song information. Since the documentation for
the ICE/SHOUT protocol is, frankly, pretty much non-existant, I did a search
on Google and eventually came up with this site:
        http://www.smackfu.com/stuff/programming/shoutcast.html

I did some experimenting with this information and my Icecast2 server and,
after a few telnet sessions, determined that those instructions were
incorrect (at least with Icecast servers). I assume that this is due to the
fact that there is no constant bitrate for Ogg Vorbis streams and,
therefore, information on how far apart meta-intervals is not available at
the time the packet is sent out. Should I just buffer the socket until I
find "StreamName=" (hopefully THIS isn't different) or is there a better way
of doing this? (Please say there is, and please don't say it's by doing
'directory' sends to the script, since I really want the titles to be live,
not delayed. This will, however, be my temporary solution, as soon as I
figure out what data THAT sends.)

Thanks for any help you can give me!
__________
Colin Snover
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQA/AwUBPiNxbdAVcJC+uaATEQJnugCg18NXyPZo5h9WPCI3ceynxl3MZ5EAnAo1
NfQ4I34Og+L5mjjIU44anCJM
=UQSr
-----END PGP SIGNATURE-----

--- >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 at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast-dev mailing list