[mythtv-users] Events at the beginning of a recording

Jay Harbeston jharbestonus at gmail.com
Tue Feb 7 13:13:05 UTC 2023


Apologies for the noise, I had expanded the listing inadvertently. Collapsing it put it back right.

Regards!


> On Feb 6, 2023, at 9:37 PM, David Engel <david at istwok.net> wrote:
> 
> On Mon, Feb 06, 2023 at 10:04:04PM +0000, Paul Harrison wrote:
>> On 06/02/2023 21:27, Klaas de Waal wrote:
>> 
>>> 
>>> There is the constant kSleepCheck = 300 and this is the maximum number of
>>> seconds to wait between scheduler runs.
>>> See commit 81dffd5ab6becb75f9e004ffe771519d23a58d87
>>> Lawrence Rust authored and Paul Harrison committed on Jul 15, 2014
>>> where this was changed from a hardcoded 300 to the constant.
>>> When kSleepCheck is changed to 30 seconds then there is always one
>>> REC_PENDING
>>> in the first time window, from  120 to 90 seconds.
>>> Paul, do you think that it is a problem for the scheduler to wake up
>>> every 30 seconds?
>>> 
>> 
>> I honestly don't know what side effects that would have. I would consult
>> with David Engel since the scheduler is his baby.
> 
> Please send me any patches you want considered.  However, sleeping
> backends is something I've never done nor intend to do.  That is all
> Chris Murdoch's logic and I usually try to avoid it.  IOW, you all are
> now probably more versed in it than me.
> 
> FWIW, I'd very much like the sleep and wake logic to be moved
> completely or mostly out of the scheduler proper and into some other
> component which observes the schedule and acts accordingly.
> 
> David
> -- 
> David Engel
> david at istwok.net <mailto:david at istwok.net>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org <https://forum.mythtv.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230207/cf621d83/attachment-0001.htm>


More information about the mythtv-users mailing list