Hello/Salut,

First of all, greetings to the list from a long-time lurker :-)

I haven't tried running this exact example yet, but like David I have
noticed some odd behavior with prepend().

Are you using a pre-built package, or did you build from svn or one of
the tarballs?

Also, do any of the lines you've elided touch either the news or intro
sources?  (i.e., are there compositions, etc. that get applied before
prepend()?)

Hal

On Wed, Jun 24, 2009 at 5:29 AM, Alexey Tarasov<m...@lexasoft.ru> wrote:
> Hello.
>
> Please, help me with prepend function in liquidsoap.
> I have the following code:
>
> news = playlist(reload = 86400, "/home/radio/content/news.txt")
> intro = playlist(reload = 86400, "/home/radio/content/intro.txt")
>
> ...
>
> news = prepend(news, fun(_) -> intro)
> radio = fallback([ news, radio ])
>
> I want random intro to be prepended to every news. With this code I
> get random news or intros, but not them together.
>
> --
> Alexey Tarasov
>
> (\__/)
> (='.'=)
> E[: | | | | :]З
> (")_(")
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>

------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to