This is how I do it, with one small change. I set the delay to just larger
than the size of the window. In this case, I would set delay to 700.
Since the delay doesn't start counting until after the END of the jingle,
you can leave yourself a very small target to hit next hour. To
demonstrate:
( { 45m-55m }, delay( 2900.0, beitraege) ),
So, if it's minute 54 by the time that last track finishes, the beitraege
starts and lasts 10 minutes . Now you're at minute 04. Add 2900 seconds
and you're at minute 52. So, even if the last track finishes at minute 47,
beitraege isn't ready, so another track starts. If that track is 8 or more
minutes, you're past the 45-55 window, and you get no jingle the next hour.
By setting it to an amount of time just larger than the window, you reduce
the changes of this by a large amount.
Chuck
Chief Engineer, http://am1700.org/
On Thu, May 26, 2016 at 3:33 PM Mark Jeghers <[email protected]> wrote:
> Is this the most intuitive way to achieve “play ABC at X minutes past the
> hour”?
>
>
>
> Or is there other way to do it also?
>
>
>
> *From:* Romain Beauxis [mailto:[email protected]]
> *Sent:* Thursday, May 26, 2016 1:11 PM
> *To:* savonet-users <[email protected]>
> *Subject:* Re: [Savonet-users] once(single
>
>
>
> This looks awesome to me!
>
>
>
> 2016-05-26 1:49 GMT-05:00 Michael Pieper <[email protected]>:
>
> What do you want to achieve?
>
> So what is the time when its needed?
>
>
>
> I' using switch and delay to schedule an special track always at :45
> Minutes:
>
>
>
> radio = switch( id="Sonder Beitraege", [
>
> ( { 45m-55m }, delay( 2900.0, beitraege) ),
>
> ( { true }, radio)
>
> ] )
>
>
>
> This will check at the end of a track if switch is true and then play one
> track of "beitraege" and then play radio again.
>
>
>
> 45m-55m is needed because I want to switch not at the exact time but after
> the last track ends. And as I don't know when this exactly will happen I
> had to do a range.
>
>
>
> And the 2900 comes from the effect that it should not be played a second
> track again during the next 50 minutes.
>
>
>
> Best regards
>
> Michael
>
> -----------------------------------------
>
> Von meinem iPhone gesendet
>
> Erreichbar auch unter:
>
> XMPP: [email protected]
>
> ICQ: 64853635
>
> MSN: [email protected]
>
> Yahoo: [email protected] <[email protected]>
>
> Astra: Mikesch1964
>
> Skype: Mikesch8764
>
>
> Am 25.05.2016 um 22:53 schrieb Feiko <[email protected]>:
>
> Tnx,
>
> But I don't need it every time just when it's needed so is delay then the
> only way???
>
> TNX
> Feiko
>
> Op 25-5-2016 om 19:18 schreef Michael Pieper:
>
> You have to use delay()
>
>
>
> This will make the source unavailable for a time.
>
>
>
> >From my mind:
>
>
>
> Schedule = Delay(300, jingle)
>
>
>
> Will play one track of source jingle and then fail for 300 seconds.
>
> Put this into a fallback(schedule, radio)
>
>
>
> And each 5 min you should hear one track of jingle.
>
>
>
> BR Michael
>
>
>
>
>
> -----------------------------------------
>
> Von meinem iPhone gesendet
>
> Erreichbar auch unter:
>
> XMPP: [email protected]
>
> ICQ: 64853635
>
> MSN: [email protected]
>
> Yahoo: [email protected]
>
> Astra: Mikesch1964
>
> Skype: Mikesch8764
>
>
>
> Am 25.05.2016 um 18:18 schrieb Feiko <[email protected]>
> <[email protected]>:
>
>
>
> Hi There,
>
>
>
> if I use single it will play the file over and over in I use once
>
> (single..... then it plays just one time and it can't be used after
>
> that......
>
>
>
> So my question is how can I play a file 1 time and after say 30 min.
>
> again???
>
>
>
> Tnx.
>
>
>
> ------------------------------------------------------------------------------
>
> Mobile security can be enabling, not merely restricting. Employees who
>
> bring their own devices (BYOD) to work are irked by the imposition of MDM
>
> restrictions. Mobile Device Manager Plus allows you to control only the
>
> apps on BYO-devices by containerizing them, leaving personal data untouched!
>
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__ad.doubleclick.net_ddm_clk_304595813-3B131938128-3Bj&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=umMO_XPNO_4byrJZr71xlWFjamLr2FkN6k1y8nExjy0&s=aGjPP7LJoJ1eBVWm_RN8jqBj7096vdfs4TxbqZPAYSE&e=>
>
> _______________________________________________
>
> Savonet-users mailing list
>
> [email protected]
>
> https://lists.sourceforge.net/lists/listinfo/savonet-users
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_savonet-2Dusers&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=umMO_XPNO_4byrJZr71xlWFjamLr2FkN6k1y8nExjy0&s=K6C8R1TCljUhvZxs8E0pVeh6MdJcId-I1cIJKDhQhmc&e=>
>
>
>
> ------------------------------------------------------------------------------
>
> Mobile security can be enabling, not merely restricting. Employees who
>
> bring their own devices (BYOD) to work are irked by the imposition of MDM
>
> restrictions. Mobile Device Manager Plus allows you to control only the
>
> apps on BYO-devices by containerizing them, leaving personal data untouched!
>
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__ad.doubleclick.net_ddm_clk_304595813-3B131938128-3Bj&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=umMO_XPNO_4byrJZr71xlWFjamLr2FkN6k1y8nExjy0&s=aGjPP7LJoJ1eBVWm_RN8jqBj7096vdfs4TxbqZPAYSE&e=>
>
>
>
> _______________________________________________
>
> Savonet-users mailing list
>
> [email protected]
>
> https://lists.sourceforge.net/lists/listinfo/savonet-users
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_savonet-2Dusers&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=umMO_XPNO_4byrJZr71xlWFjamLr2FkN6k1y8nExjy0&s=K6C8R1TCljUhvZxs8E0pVeh6MdJcId-I1cIJKDhQhmc&e=>
>
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__ad.doubleclick.net_ddm_clk_304595813-3B131938128-3Bj&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=umMO_XPNO_4byrJZr71xlWFjamLr2FkN6k1y8nExjy0&s=aGjPP7LJoJ1eBVWm_RN8jqBj7096vdfs4TxbqZPAYSE&e=>
>
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_savonet-2Dusers&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=umMO_XPNO_4byrJZr71xlWFjamLr2FkN6k1y8nExjy0&s=K6C8R1TCljUhvZxs8E0pVeh6MdJcId-I1cIJKDhQhmc&e=>
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__ad.doubleclick.net_ddm_clk_304595813-3B131938128-3Bj&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=umMO_XPNO_4byrJZr71xlWFjamLr2FkN6k1y8nExjy0&s=aGjPP7LJoJ1eBVWm_RN8jqBj7096vdfs4TxbqZPAYSE&e=>
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_savonet-2Dusers&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=umMO_XPNO_4byrJZr71xlWFjamLr2FkN6k1y8nExjy0&s=K6C8R1TCljUhvZxs8E0pVeh6MdJcId-I1cIJKDhQhmc&e=>
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users