Hi Boris, 2011/3/27 Boris Zhidkov <[email protected]>: > Another question: I found a delay function in the liquidsoap documentation. > Can you explain how it works?
Good catch, delay() can be useful for what you need. In itself delay() doesn't force a source to play. In fact it blocks a source from playing two tracks too close to each other. So, if you take fallback([delay(T,jingle),audio]) it will play jingles between audio tracks as often as possible while ensuring a delay of at least T seconds between two jingles. > What will happen if "promotion" is longer than 20 mins or > there is another playlist with forced playback behavior? The delay() is only about the time between tracks, it's not affected by the duration of "promotion" tracks. > Force a file/playlist to be played at least every XX minutes This was a bad description, at least if the fallback is track sensitive. My explanation above is better. With delay() you should be able to implement a decent solution. If your needs are really more complicated than that, do as Romain suggested. Hope this helps, -- David ------------------------------------------------------------------------------ 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
