Hi,

Creating a playlist in Liquidsoap is perfectly possible. You can for
instance have a look at the "playlist.reloadable" operator, which is
defined in utils.liq (and only uses Liquidsoap operators) for
inspiration. The basic idea is to store the list of files into a list,
and program a next function which will be used by "request.dynamic" to
get the next song.

Cheers,

Samuel.

On Thu, Nov 7, 2013 at 10:42 PM, Leonard de Ruijter <[email protected]> wrote:
> Hello,
>
> I have a playlist.txt containing the following:
> annotate:liq_cue_in=10,liq_cue_out=20:testing.mp3
> annotate:liq_cue_in=0,liq_cue_out=10:testing.mp3
> This plays fine when using the code:
> input=playlist("playlist.txt")
> input=cue_cut(in)
> out(input)
>
> I however want to define the playlist inside the liquidsoap script, so i
> want to have a variable containing several filenames parced as a
> playlist. Is this possible, and if so, how?
>
> Regards,
> Leonard
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to