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

Reply via email to