On Fri, Nov 04, 2011 at 09:22:24PM +0100, Mix Dance wrote: >Reminder: I would like that liquidsoap read the files it shows a small >PHP script, but I have no ideas of how to use the functions liquidsoap >for this technique. Yet I read the CookBook but I failed to understand >the proper use of this function. I would like my script to be >re-examined after the reading of each file
I believe the normal playlist() function ought to reload the script when it gets to the end... Here's what I do. Quite possibly more complex than you need. There's a queue specifically for this purpose. When I start a dynamic playlist, it forks off a dedicated queuefiller daemon. Once a minute, this connects to liquidsoap via the telnet interface, checks to see whether there are fewer than N files in that queue, and if so adds the next few off its (much longer) list. When that daemon is killed, it flushes the queue. Roger ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
