Ok, I've got one more question. I've got my stream largly working... I don't have any of the external, web-based stuff necessary to build lists, ETC... but the streams themselves are working quite well. My question is, using the script playlist option.. how can I tell ices that the playlist is over? I know I can just keep sending the same result over and over, but that seems rather ineligant. Is there a "magic" string, or perhaps a null string that will tell ices to give up right away, or do I need to just repeat the last entry in the playlist over and over until ices gives up? Thanks again! Adam --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Wednesday 12 March 2003 09:47, Adam Scriven wrote:> Ok, I've got one more question. > > I've got my stream largly working... I don't have any of the external, > web-based stuff necessary to build lists, ETC... but the streams themselves > are working quite well. > > My question is, using the script playlist option.. how can I tell ices that > the playlist is over? > I know I can just keep sending the same result over and over, but that > seems rather ineligant. Is there a "magic" string, or perhaps a null > string that will tell ices to give up right away, or do I need to just > repeat the last entry in the playlist over and over until ices gives up? >An empty line should do the trick. Mike --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Tue, Mar 11, 2003 at 11:29:26PM +0000, Karl Heyes wrote:> On Tue, 2003-03-11 at 22:47, Adam Scriven wrote: > > I know I can just keep sending the same result over and over, but that seems > > rather ineligant. Is there a "magic" string, or perhaps a null string that > > will tell ices to give up right away, or do I need to just repeat the last > > entry in the playlist over and over until ices gives up? > > I think if you don't send anything back it will cause it to terminate. > If that doesn't work then let me know.Yup, I just 'exit'ed the program, sending no output, and it works like a charm. The program is rather trivial, actually. It's 353 lines, but that's PERL, and I don't program K&R style (IE If... { all on one line), and there's a lot of comments and error checking. I may even post it, if there are people interested. I'd like to get some feedback on it after I know it's working properly. It does depend on more files that aren't programmed (to setup the streams, clean up afterwards, stuff like that), but the playlist picker itself is working just fine, it can even insert ads at random intervals. :) Thanks for all the help! Adam --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Tue, 2003-03-11 at 22:47, Adam Scriven wrote:> My question is, using the script playlist option.. how can I tell ices that > the playlist is over? > I know I can just keep sending the same result over and over, but that seems > rather ineligant. Is there a "magic" string, or perhaps a null string that > will tell ices to give up right away, or do I need to just repeat the last > entry in the playlist over and over until ices gives up?I think if you don't send anything back it will cause it to terminate. If that doesn't work then let me know. karl. <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-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.