Without exception, every problem I've had with wrong logs loading has been due to a timed event issue.

For instance, let's say you have a timed station ID that runs at 23:59:50 and is followed by a CHAIN to the next day's log.

If there isn't enough material in the 11 PM hour to fill it, the ID may run at, say, 23:59:10. The next day's log will load and start, but if that log has the same timed event at 23:59:50, then when that time arrives it will skip everything on that day's log, run the ID, and then try to load the *next* day's log.

The problem arises from each day beginning at 00:00:00.0 rather than the UNIX time stamp corrresponding to midnight on that day. Rivendell therefore can't tell one day's 23:59:50 from another's, so if you tell it do something at a time anywhere near midnight, it will happen regardless of what day it may be when the log runs.

A timed event scheduled shortly after midnight can also be problematical if the 11 PM hour runs late.

The only foolproof solution is to put a STOP transition on any timed event scheduled near the end of the 11 PM hour. If the hour is under-programmed, Rivendell will stop and wait for the clock before proceeding.


Rob

umar@python:~$ more stinking bills
more: stat of stinking failed: No such file or directory
more: stat of bills failed: No such file or directory


On Wed, 24 Aug 2022, David Henderson wrote:

There was a discussion on one of the Facebook groups about Rivendell loading the wrong logs and it was suggested that the 'chain to' event was happening after midnight, which was causing the issue. I have to say I don't believe that is the cause - mine is set for 23:59:00 and although it sometimes is after 00:00 before the actual next day's log loads, it normally works correctly. As the name of the log is also automatically set when the log is created, (or can be set manually) surely it shouldn't matter when the event takes place, as long as the correct log is specified. Today for example, Rivendell was playing the log for 25th August, when it should have been playing 24th August and that was specified in the 'chain to' event last night.

--
Kind regards,

David Henderson

TD9 Radio - Community Radio for Hawick

www.td9radio.online
www.twitter.com/TD9Radio
www.facebook.com/TD9Radio

TD9 Radio is a Scottish Charitable Incorporated Organisation (SCIO) - registered with OSCR - SC051870.

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to