Hi!
Sorry, I guess I misunterstood it.
I tried to use source.shutdown(out) in the arguments on_stop of the output
and in on_done of playlist.once() and got erros on both, always like:
At line 26, char 27:
this value has type
(_)->_
but it should be a subtype of
()->unit
What am I missing?
Thank you!
*
Leonel Rocha*
2011/10/30 David Baelde <[email protected]>
> Hi Leonel & welcome to liquidsoap,
>
> Leonel Rocha wrote:
> > I'd like to know how could I use the playlist.once on_done callback to
> make
> > it destroy the dynamic playlist (created by create_playlist(uri)) when
> the
> > playback has finished.
>
> Call source.shutdown() on the output, it will automatically cleanup all the
> sources that the output uses. (Note that, although liquidsoap will let you
> call
> shutdown on a passive source, it only has an effect on active sources such
> as
> outputs... it's probably a mistake to have kept it this way.)
>
> Hope this helps,
>
> David
>
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World™ now supports Android™ Apps
for the BlackBerry® PlayBook™. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users