Re: [RDD] Hello guys

2020-05-05 Thread Phil Biehl
This begs the question how does one insure a full days log? My logs are short 
by a few hours.

Phil

> On May 5, 2020, at 2:34 AM, Wayne Merricks  
> wrote:
> 
> 
> Hi Andrejs,
> 
> I don't have Riv in front of me to check but you use log chains in your logs 
> to automatically go to the next log/day when it has finished.
> 
> This works fine if you can guarantee your timings but if you have any sort of 
> live shows with presenters who don't pay attention you might find your 
> midnight change over is all over the place.  This can lead to odd cuts in 
> songs when things realign for hourly news or whatever.
> 
> What I did to fix this was to use the aux log.  I had two events there.  
> About 10 seconds before midnight I did a make next on the log chain. 5 
> seconds before the midnight swap I did a fade down and play next which got 
> the log to swap over on time with a nicer fade rather than a hard cut.
> 
> My logs were always over filled to help prevent dead air at this point.
> 
> Hope this makes sense,
> 
> Wayne
> 
>> On Mon, May 4, 2020 at 5:39 PM  wrote:
>> 
>> Hello, everybody.
>> I'm new to Rivendell.
>> 
>> I would ask to help.
>> 
>> Is it possible to preload log in Rivendell.
>> 
>> How to make, that at night when the log is playing, when 20 seconds are 
>> left until the end, the next day log is preloaded.
>> 
>> 
>> -- 
>> Best regards,
>> Andrejs Grigorjevs
>> ___
>> 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
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Hello guys

2020-05-05 Thread Wayne Merricks
Hi Andrejs,

I don't have Riv in front of me to check but you use log chains in your
logs to automatically go to the next log/day when it has finished.

This works fine if you can guarantee your timings but if you have any sort
of live shows with presenters who don't pay attention you might find your
midnight change over is all over the place.  This can lead to odd cuts in
songs when things realign for hourly news or whatever.

What I did to fix this was to use the aux log.  I had two events there.
About 10 seconds before midnight I did a make next on the log chain. 5
seconds before the midnight swap I did a fade down and play next which got
the log to swap over on time with a nicer fade rather than a hard cut.

My logs were always over filled to help prevent dead air at this point.

Hope this makes sense,

Wayne

On Mon, May 4, 2020 at 5:39 PM  wrote:

>
> Hello, everybody.
> I'm new to Rivendell.
>
> I would ask to help.
>
> Is it possible to preload log in Rivendell.
>
> How to make, that at night when the log is playing, when 20 seconds are
> left until the end, the next day log is preloaded.
>
>
> --
> Best regards,
> Andrejs Grigorjevs
> ___
> 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


[RDD] Hello guys

2020-05-04 Thread avg



Hello, everybody.
I'm new to Rivendell.

I would ask to help.

Is it possible to preload log in Rivendell.

How to make, that at night when the log is playing, when 20 seconds are 
left until the end, the next day log is preloaded.



--
Best regards,
Andrejs Grigorjevs
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Hello guys

2020-05-04 Thread Robert Jeffares

Welcome Andrejs,

http://wiki.rivendellaudio.org/

is a great place to start.

Logs are created using RDLOGMANAGER and will have a CHAIN command at the 
end if you have checked the 'chain to'  box in RIVENDELL > 
CONFIGURATION  RDADMIN > MANAGE SERVICES > EDIT SERVICE.


Making sure the log rolls over at midnight can be achieved in a number 
of ways.


I place a timed event just before midnight with one song after it which 
works for me. If you have a 'news on the hour' format you may use 
another shell script to force the issue.


You need to become familiar with CRON, CRONTAB, and Shell Scripts in bash.

lots of info on line about all of these.

Log creation is manual but can be automated with a shell script.

- snip 
---


#!/bin/bash
export DISPLAY=:0.0
date >/home/rd/advanceLogGeneration.log
$hostname >>/home/rd/advanceLogGeneration.log
#make log for Production
/usr/bin/rdlogmanager -g -s Production -d 8 
>>/home/rd/advanceLogGeneration.log


#clean up log perms and put in one place
chown rd:users /home/rd/*.log

# send a report
cat /home/rd/advanceLogGeneration.log |mail -s "$(hostname) Log Report" 
some...@somewhere.com

exit 0

- snip 
---


The originator called it sustainLogGen.sh

The help file explains

rdlogmanager --help

rdlogmanager [-P] [-g] [-m] [-t] [-r ] [-d ] [-e ] 
-s 


-P
 Do not overwrite existing logs or imports.

-g
 Generate a new log for the specified service.

-m
 Merge the Music log for the specified service.

-t
 Merge the Traffic log for the specified service.

-r 
 Generate report .

-d 
 Specify a start date offset.  For log operations, this will be added
 to tomorrow's date to arrive at a target date, whereas for report
 operations it will be added to yesterday's date to arrive at a target
 date.  Default value is '0'.

-e 
 Specify an end date offset.  This will be added to yesterday's date
 to arrive at a target end date.  Valid only for certain report types.
 Default value is '0'.

-s 
 Specify service  for log operations.



regards

Robert Jeffares


On 5/05/20 4:39 am, a...@xhost.lv wrote:


Hello, everybody.
I'm new to Rivendell.

I would ask to help.

Is it possible to preload log in Rivendell.

How to make, that at night when the log is playing, when 20 seconds 
are left until the end, the next day log is preloaded.




--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

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