Hi,

Short translation of your question in english: Mix Dance wants to play
podcast episodes (each of 25 to 35 minutes) with two per hour,
starting a new episode at the top of each hour (interrupting ongoing
playback if needed).

I'll assume that you have a source playing podcasts, from a playlist
or external script. Essentially the main thing that you have to do is
skip if something is playing at the end of an hour, so that a new
track can start. I can imagine several solutions:
 * Use add_timeout to schedule a task executed at each hour. This task
will have to figure out if something is playing, using on_air or a
flag set by other means, and skip when appropriate.
 * Use a three-entry switch: one entry for even hours, one for odd
hours (separating the two makes sure we have a transition executed at
each new hour) and a default entry for playing fillers if podcasts
stop too early. Then setup transitions that do the checking and
skipping. This will be more precise than using add_timeout.

Does that sound sensible? Other people may have better ideas... Keep
us informed of what you try and don't hesitate to ask for more details
once you pick an approach that works for you.

Cheers,
-- 
David

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to