Hi, Romain!

Ok. I wanted to incapsulate all scheduling logic to liquidsoap and just to
create/remove streams from the outside.
But, if it's impossible in this case, we'll be forced to use own external
scheduler.

Another question: I found a delay function in the liquidsoap documentation.
Can you explain how it works?
It takes "promotion" source and force it to play from the beginning every 20
minutes, isn't it? What will happen if "promotion" is longer than 20 mins or
there is another playlist with forced playback behavior?
Force a file/playlist to be played at least every XX minutes

It can be useful to have a special playlist that is played at least every 20
minutes for instance (3 times per hour). You may think of a promotional
playlist for instance. Here is the recipe:

# (1200 sec = 20 min)
timed_promotions = delay(1200.,promotions)
main_source = fallback([timed_promotions,other_source])


Thanks,
Boris.

On Sat, Mar 26, 2011 at 11:00 PM, Romain Beauxis <[email protected]>wrote:

> Le 26 mars 2011 12:02, Boris Zhidkov <[email protected]> a écrit :
> > Hi!
>
> Hi Boris!
>
> > I have a stream with two mixed playlists - one with songs and one with
> > advertisements.
> > Switching rule - 1 jingle every N songs. But I would like to extend this
> > rule,
> > because audio files have different lengths.
> > Is it possible to switch playback to ads after every N songs,
> > or play one to three minutes of advertising commercials every fifteen
> > minutes?
>
> You should be able to do that with regular switches and etc. However,
> at this point, I would really suggests investigating further the
> request.dynamic operator.
>
> This operator creates a source whose uri/files can be given by an
> external script (more precisely, a function that you write, in which
> your can call an external script).
>
> If you want a maximun level of flexibility for your scheduler, and
> also to be able to write it in the language of your choice, then this
> is definitely an interesting option for you..
>
> Romain
>
> > --
> > -------------------------------------------
> > Thanks, Boris Zhidkov
> >
> >
> ------------------------------------------------------------------------------
> > Enable your software for Intel(R) Active Management Technology to meet
> the
> > growing manageability and security demands of your customers. Businesses
> > are taking advantage of Intel(R) vPro (TM) technology - will your
> software
> > be a part of the solution? Download the Intel(R) Manageability Checker
> > today! http://p.sf.net/sfu/intel-dev2devmar
> > _______________________________________________
> > Savonet-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >
> >
>



-- 
-------------------------------------------
WBR, Boris Zhidkov
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to