Hi,

General answer: you can use filename.duration() iirc, and references
to keep track of the elapsed time. But I'll try to make your life
simpler...

2010/11/20 Hyun-ki Chung <hyunkich...@yahoo.com>:
> My radio program requirement is to play a station-id after an audio track is
> finished if the track lasts over 15 minutes.  If an audio track ends before
> 15 minutes, then the play time is accumulated with the next audio track.
> Then, if the accumulated  play time is over 15minutes, a station-id needs to
> be played again.

If I understand correctly you simply need to play a jingle after end
of tracks and no more than every 15 minutes. If so you can simply
write fallback([delay(60.*15.,jingles),playlist]).

Cheers,
-- 
David

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to