[icecast-dev] ices: forcing an immediate reread of the playlist

Michael Smith msmith at labyrinth.net.au
Wed Mar 20 00:14:50 PST 2002



At 06:18 PM 3/19/02 -0500, you wrote:
>Hi Michael,
>
>         I'll try, but just from looking at the code inside im_playlist.c 
>it doesn't appear to check the pl->nexttrack variable inside the 'while(1)' 
>loop unless it reaches the eof on the playlist file. Honestly I don't 
>understand the ogg function calls, but just wondering if code has to be 
>added to check this.

That while(1) loop typically gets broken out of after only one or two
iterations, as I recall. That entire function is called _from_ the main
loop. I'm not just saying that it checks it, I've read (hell, I _wrote_) 
the code, and I've tested this extensively.

Michael

<p><p><p>--- >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