Brilliant!

Thank you.

—
Patrick
patr...@scnv.net



> On Feb 22, 2017, at 2:13 AM, ermina <erm...@studioplume.com> 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
>> patr...@scnv.net
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>> 
> 


_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to