Hi y'all,

2018-04-23 15:01 GMT-05:00 Dave Hayes <d...@jetcafe.org>:
>
> On Sun, 22 Apr 2018 20:43:56 -0700
> Damian <d...@riseup.net> wrote:
> > I apologize for my persistence with this. I realize that you guys must
> > be busy with so many things. It's just that I haven't got a response
> > yet.
>
> I've asked three questions on this list and I've gotten zero
> responses. While this is indeed annoying, I wouldn't sweat it.

I am personally super busy lately. Trying to do the basic maintenance on
the project but that's the most time I've had recently. I'm hoping for more
time in the next months and will look at a quick release to ship all the
things needed to build liquidsoap with OCaml 4.06.

I understand that there can be some frustration with this but this is a
volunteer project and, unfortunately, bound by this limitation.

To come back to the original question, I think that Gilou's response isn't
bad at all. One way to hook it up in a more robust way could be
to do it inside a transition. Here's how it'd go (untested code):

playlist1 = (...)
playlist2 = (...)

def transition(old,new) =
  ignore(server.execute("#{source.id(old)}.reload"))
  new
end

s = switch(transitions=[transition,transition],[playlist1,playlist2])

This would reload the old playlist each time there is a transition out of
it. If the reload happens to early and causes audio artifacts, you can also
wrap it in a add_timeout so that it is executed after the transition is
done.

Hope that makes sense,
Romain
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to