[icecast] web stats and now playing

Andrew Burghardt abob at speakeasy.net
Tue Jun 3 21:52:13 UTC 2003



On Tuesday 03 June 2003 2:26 pm, Bryan Koschmann - GKT wrote:
> On Tue, 3 Jun 2003, jared jennings wrote:
> > you just parse out the cue file that ices makes. this file is updated
> > every second, so whenever you open it, it wil be current. i have some
> > (rather nasty) php code to do that if you'd like it. (does ices2 make
> > cue files? i forgot.)
>
> I would be thrilled to have that php code if you wouldn't mind. I don't
> even know where the cue file is, but I suppose I could hunt through an
> lsof output for it.. maybe?
>

I think ices 0.23 generally writes the cue file to /tmp/ices.cue. The cue file 
also lists the full path and filename of what is currently playing. So 
another useful thing is to call vorbiscomment in your php script and get any 
additional comment information that ices doesn't write explicitly to the cue 
file. Alternatively there are some php id3 reading classes if your source 
files are mp3 instead...try googling for "php id3 class".

I don't believe ices2 writes a cue file.


-- 
--
Andrew Burghardt
abob at speakeasy.net
--- >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-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 mailing list