Hi,

As a quick note, don't use timed events for midnight and you'll be fine, it works most of the time, but occasionally timing glitches mean it doesn't.

You can use cron as mentioned however Riv will work if you use Aux logs and no hard midnight timings.

I do this:

Main Log:

-- Hard Timed make next for 23:59:50 just before the log chain

Aux Log:

-- Hard Timed Macro Fade down over 5 seconds and then play next for 23:59:55

This achieves the following:

23:59:50 all excess dumped from the main log leaving the currently playing event and the log chain
23:59:55 Aux kicks in and fades down the main log
00:00:00 Aux "plays" the log chain via play next

I've used this for the past 4 years without any issues. I also use Aux for top/bottom of the hour fades in a similar way, just remember to use a sleep macro the same length as your fade or everything instantly executes:

e.g.

Fade 3000 (3 second fade)
Sleep 3000 (3 second wait)
Play Next

Regards,

Wayne


On 2017-02-22 16:41, Tom Van Gorkom wrote:
Ive 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 days log loads.
Its 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 its 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 <patr...@scnv.net [8]> wrote:

Brilliant!

Thank you.

—
Patrick
patr...@scnv.net [1]

> On Feb 22, 2017, at 2:13 AM, ermina <erm...@studioplume.com [2]>
wrote:
>
> Hi,
>
> i dont 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:
>> Im having an intermittent problem with chaining to the next days
log. Sometimes it works, sometimes it doesnt.
>>
>> 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?
>>
>> Heres 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 [3]
>>
>>
>>
>>
>> _______________________________________________
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org [4]
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[5]
>>
>

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



Links:
------
[1] mailto:patr...@scnv.net
[2] mailto:erm...@studioplume.com
[3] mailto:patr...@scnv.net
[4] mailto:Rivendell-dev@lists.rivendellaudio.org
[5] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[6] mailto:Rivendell-dev@lists.rivendellaudio.org
[7] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[8] mailto:patr...@scnv.net

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

Reply via email to