Hello all. So, let's say that I have 3 sources. my playlist of music, 
some jingles and I would like to add some promos and have them play in 
like 20 minute increments. I have looked up some examples in the cook 
book, but that is not really giving me any helpful stuff on how  I could 
use this. I'm trying to use the following.
playlistnem = delay(1200)
and then my fallback swich thing which I use below.
myplaylist = 
mksafe(fallback([request.queue(id="q"),playlist("/path/to/directory")]))
Is there any way that I can implement the forcing of either a playlist 
or a file with in that range using the delay function? Thanks all.
P.S, If you are wondering what I'm talking about, look at the example below.
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])

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to