I've been using the auto generated log chain every day for a year now and it has never given trouble. The only thing I do is to not worry about being exact. I have a timed make next event that pulls short songs (less than 3 min) with a schedule code at 23:57:40 so it bumps anything extra in the hour. When it finishes, the next day's log loads. It's always a little after midnight but not enough to worry about. I have bottom of the hour and top of the hour IDs that are timed make next that also gives a bit of time correction throughout the day when we are not live so it's not been a problem.
Tom Van Gorkom Radio Esperanza Engineering, KRIO AM/FM, KOIR FM Office: 956-380-8150 Cell: 865-803-7427 Rio Grande Bible Institute 4300 S US Hwy 281 Edinburg, TX 78539 On Wed, Feb 22, 2017 at 8:21 AM, Patrick <[email protected]> wrote: > Brilliant! > > Thank you. > > — > Patrick > [email protected] > > > > > On Feb 22, 2017, at 2:13 AM, ermina <[email protected]> wrote: > > > > Hi, > > > > i don't use the log chain event. I seem to recall was bugged when i > started putting rivendell into production years ago, so i went for a simple > cronjob executed at 00:00 every day. > > ------------------ begin script > > #!/bin/sh > > NOWDATE=$(date +%Y%m%d) > > rmlsend --to-host=rd.airplay.machine.ip LL\ 1\ $NOWDATE\! > > exit 0 > > ------------------ end script > > The log template name for my service is %Y%m%d, so you might need to > adapt but see the idea. > > My 00h to 01h clocks usually start with a "make next" event to ditch all > potentially remaining (overscheduled) events of the previous log. > > > > cheers, > > > > . e > > > > > > On 02/20/2017 06:55 PM, Patrick wrote: > >> I'm having an intermittent problem with chaining to the next day's log. > Sometimes it works, sometimes it doesn't. > >> > >> Last night it just started the February 19 log over again. > >> > >> I think this may have something to do with a timed event at the > beginning of the log happening before the log clears > >> and hits the chain. > >> > >> My first question, is it possible to make the automatic log chain a > timed event so it dumps everything out at midnight? > >> > >> Here's what my /var/log/messages looks like from last night: > >> > >> Feb 19 23:58:53 rdhost caed: Play - 1 > >> Feb 19 23:58:53 rdhost rdairplay: started audio cart: Line: 818 Cart: > 11261 Cut: 1 Pos: 0 Card: 0 Stream: 0 Port: 0 > >> Feb 19 23:58:53 rdhost caed: Play - Card: 0 Stream: 0 Handle: 22 > Length: 223874 Speed: 100000 Pitch: 0 > >> Feb 19 23:58:54 rdhost rdairplay: finished event: Line: 817 Cart: > 11187 Cut: 1 Card: 0 Stream: 1 Port: 1 > >> Feb 19 23:58:54 rdhost caed: StopPlayback - Card: 0 Stream: 1 Handle: > 21 > >> Feb 19 23:58:54 rdhost caed: StopPlayback - Card: 0 Stream: 1 Handle: > 21 > >> Feb 19 23:58:54 rdhost caed: UnloadPlayback - Card: 0 Stream: 1 > Handle: 21 > >> Feb 20 00:02:36 rdhost caed: LoadPlayback Card: 0 Stream: 1 Name: > /var/snd/011232_001.wav Handle: 23 > >> Feb 20 00:02:36 rdhost rdairplay: started audio cart: Line: 819 Cart: > 11232 Cut: 1 Pos: 0 Card: 0 Stream: 1 Port: 1 > >> Feb 20 00:02:36 rdhost caed: PlaybackPosition - Card: 0 Stream: 1 > Pos: 168 Handle: 23 > >> Feb 20 00:02:36 rdhost caed: Play - 1 > >> Feb 20 00:02:36 rdhost caed: Play - Card: 0 Stream: 1 Handle: 23 > Length: 227210 Speed: 100000 Pitch: 0 > >> Feb 20 00:02:37 rdhost rdairplay: finished event: Line: 818 Cart: > 11261 Cut: 1 Card: 0 Stream: 0 Port: 0 > >> Feb 20 00:02:37 rdhost caed: StopPlayback - Card: 0 Stream: 0 Handle: > 22 > >> Feb 20 00:02:37 rdhost caed: StopPlayback - Card: 0 Stream: 0 Handle: > 22 > >> Feb 20 00:02:37 rdhost caed: UnloadPlayback - Card: 0 Stream: 0 > Handle: 22 > >> Feb 20 00:06:15 rdhost caed: LoadPlayback Card: 0 Stream: 0 Name: > /var/snd/060101_002.wav Handle: 24 > >> Feb 20 00:06:15 rdhost caed: PlaybackPosition - Card: 0 Stream: 0 > Pos: 120 Handle: 24 > >> Feb 20 00:06:15 rdhost caed: Play - 1 > >> Feb 20 00:06:15 rdhost rdairplay: started audio cart: Line: 2 Cart: > 60101 Cut: 2 Pos: 0 Card: 0 Stream: 0 Port: 0 > >> Feb 20 00:06:15 rdhost caed: Play - Card: 0 Stream: 0 Handle: 24 > Length: 4344 Speed: 100000 Pitch: 0 > >> Feb 20 00:06:19 rdhost caed: StopPlayback - Card: 0 Stream: 0 Handle: > 24 > >> Feb 20 00:06:19 rdhost caed: LoadPlayback Card: 0 Stream: 2 Name: > /var/snd/010583_001.wav Handle: 25 > >> Feb 20 00:06:19 rdhost rdairplay: started audio cart: Line: 3 Cart: > 10583 Cut: 1 Pos: 0 Card: 0 Stream: 2 Port: 1 > >> Feb 20 00:06:19 rdhost caed: PlaybackPosition - Card: 0 Stream: 2 > Pos: 2496 Handle: 25 > >> Feb 20 00:06:19 rdhost caed: Play - 1 > >> Feb 20 00:06:19 rdhost rdairplay: finished event: Line: 2 Cart: 60101 > Cut: 2 Card: 0 Stream: 0 Port: 0 > >> Feb 20 00:06:19 rdhost caed: Play - Card: 0 Stream: 2 Handle: 25 > Length: 193994 Speed: 100000 Pitch: 0 > >> Feb 20 00:06:19 rdhost caed: StopPlayback - Card: 0 Stream: 0 Handle: > 24 > >> Feb 20 00:06:19 rdhost caed: StopPlayback - Card: 0 Stream: 0 Handle: > 24 > >> Feb 20 00:06:19 rdhost caed: UnloadPlayback - Card: 0 Stream: 0 > Handle: 24 > >> Feb 20 00:06:23 rdhost rdairplay: finished event: Line: 819 Cart: > 11232 Cut: 1 Card: 0 Stream: 1 Port: 1 > >> Feb 20 00:06:23 rdhost caed: StopPlayback - Card: 0 Stream: 1 Handle: > 23 > >> Feb 20 00:06:23 rdhost caed: StopPlayback - Card: 0 Stream: 1 Handle: > 23 > >> > >> — > >> Patrick > >> [email protected] > >> > >> > >> > >> > >> _______________________________________________ > >> 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 >
_______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
