Hi, On Tue, Sep 6, 2011 at 9:31 AM, Alfie <alphamatri...@hotmail.com> wrote: > For problem 2, I think I should explain more. You see, I have a program that > generates a playlist. when it is generated it also sets an image that is for > the current playing item so that the website can use the image. > this requires that when liquidsoap calls the playlist program it should be > in sync.
OK so you don't need "perfect sync", just "enough sync". > The problem is that liquid soap streams the data and grabs another "next" > too soon and it makes the images out of sync by a few seconds. > How can I tell liquid soap to wait for the entire stream to be sent before > it grabs another playlist item? You need to distinguish prefetching (when liquidsoap prepares a file) and playing (when it actually plays it, which is when you want to inform the website that the image should change). To do stuff when a file is played, you typically need to use on_track(). If you need more help, please start a new thread with a clear topic and explaination: many people here have similar devices and could share their experience and code snippets. Cheers, -- David ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users