Make the the once(...)    a   delay(single(...), 7200)

It won't re-trigger for 2 hours, so you'll be outside the hour until the
next day, and it will play again.

73,
Chuck, N1SPX
Chief Engineer, http://am1700.org/


> ...



> radio = switch([
>         ( { 0h }, once( single ("moderation/0000.mp3"))),
>         ( { 1h }, once( single ("moderation/0100.mp3"))),
>         ( { 2h }, once( single ("moderation/0200.mp3"))),
>         ( { 3h }, once( single ("moderation/0300.mp3"))),
> ...
>         ( { 23h }, once( single ("moderation/2300.mp3"))),
>         ( { true }, radio)
> ])
>
> and so on.
>
> It works fine the first time. unfortunately it is not working after 24
> hours, as "single" will only create one track. I have to search for a
> function where only one Track is played, but again the same track at the
> next day...
> ...
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to