Here is a modified bash script to load the log at startup.
Use this script and not the one that I posted a few months back as the
variable names were not used.

Change the LOG_NAME variable to match your log name template and you should
work.  ( WARRENTY NOT INCLUDED)
There is a (+-) buffer built in the BETWEEN statement 60 Seconds Back and
300 Seconds Forward.

John

On Wed, Apr 1, 2020 at 10:18 AM drew Roberts <[email protected]> wrote:

> Lorne,
>
> On Wed, Apr 1, 2020 at 11:18 AM Lorne Tyndale <[email protected]>
> wrote:
>
>> Years ago Wayne Merricks put together a script which almost did this.
>> It has rdairplay load the day's log and skip to the cart that should be
>> playing based on the time of day.  It is meant for those times when the
>> system reboots unexpectedly and such.  Here's the link:
>>
>>
>> http://caspian.paravelsystems.com/pipermail/rivendell-dev/2015-November/023621.html
>
>
> I think you can find updated posts on th elist that discuss the changes
> needed to get this to work for 3.x code.
>
> all the best,
>
> drew
>
>>
>>
>> Lorne Tyndale
>>
>> >
>> > I have a question. When loading a log in rdairplay, one must manually
>> scroll down to the current hour in order to start the log at the current
>> time. How would everyone feel about the log automatically scrolling down
>> the current hour when loading a log? Should the log panel stay at the top
>> of the log as it does now? Should it only auto scroll upon load if the Hour
>> Selector is enabled?
>> >
>> > Patrick
>> >
>> > _______________________________________________
>> > 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
>>
>
>
> --
> Enjoy the *Paradise Island Cam* playing
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>

Attachment: loadmainlog.sh
Description: application/shellscript

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

Reply via email to