Hello,

I just started to experiment with Liquidsoap to replace a SAM  
Broadcaster installation for which I needed a Windows VM on our  
rootserver which created quite some CPU load.

For the rotation scheme I need the possibility to get a sequence of  
tracks from different playlists in a certain order. This sequence  
should be repeated continuously.

For this I defined a couple of playlists:

p1 = playlist("...")
p2 = playlist("...")
p3 = playlist("...")

Then, I defined the sequence for one cycle:

s = sequence([p1, p2, p3, p2, p1, p3, fallback([]) ])

As far as I understand the "sequence" function it uses one track from  
each source and repeats the last source indefinitely. As the last  
element of this sequence is the fallback to an emtpy source the whole  
sequence will become inactive after the six tracks have been played.

To repeat the sequence forever I simply wrapped the sequence in  
another sequence:

s_forever = sequence([s])

and made the source infallible for output:

default = single("...")
out = fallback([s_forever, default])

Unfortunately, that doesn't work. The inner sequence is not repeated  
although the documentation of "sequence" says that the last element is  
repeated indefinitely.

I appreciate any idea how to implement such functionality. Thanks.

Andreas



------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to