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

Jan Ceuleers jan.ceuleers at gmail.com
Sun Feb 5 15:10:04 UTC 2023

On 05/02/2023 14:23, Klaas de Waal wrote:
> Hi Jan,
> What are your values for the settings RecordPreRoll andWakeUpThreshold?

>From one of my earlier messages today:

"...zero preroll in the recording rule itself, with RecordPreRoll set to
250, and with WakeUpThreshold set to 5."

> To show the events you can add the "-v network" option for mythbackend.
> Then use "grep -e REC_PENDING -e REC_STARTED" to filter the log.

I can do that, but is it needed given the logging I already showed? The
logs I showed are produced by the recording-pending and
recording-started scripts doing the following (and nothing else):

logger --id=$PPID -p local7.info "$0 called with parameters $* by PID
$PPID" -s 2>> /home/mythtv/hdmicap.log

Both scripts are identical and contain only the following line (apart
from the shebang).

ALSO: it occurred to me that perhaps my tests were invalid, in that I
was scheduling "record once" recording rules using mythweb that are due
to start later than the preroll, and I was afraid that perhaps doing so
did not trigger a reschedule or something. So I just did another test,
scheduling the recording 20mins ahead of time and then running mythutil
--resched, but the same still happened:

Feb  5 16:00:50 mythtv[2071521]:
/home/mythtv/system-events/recording-started called with parameters 10
20230205160100 by PID 2071521
Feb  5 16:00:50 mythtv[2071532]:
/home/mythtv/system-events/recording-pending called with parameters 10
20230205160100 -241 by PID 2071532

Anyway, I will do another test run after running mythbackend
--setverbose network .

Cheers, Jan

More information about the mythtv-users mailing list