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

Klaas de Waal klaas.de.waal at gmail.com
Sun Feb 5 16:01:20 UTC 2023


Hi Jan,

Looking at this log, I suspect that you have numeric value 5 for
WakeUpThreshold in the database.
Can you check the values for both WakeUpThreshold and RecordPreRoll in the
database, e.g.
select * from settings where value like "Wake%";
and
select * from settings where value like "Rec%";

Thanks,
Klaas.


On Sun, 5 Feb 2023 at 16:40, Jan Ceuleers <jan.ceuleers at gmail.com> wrote:

> On 05/02/2023 16:10, Jan Ceuleers wrote:
> > Anyway, I will do another test run after running mythbackend
> > --setverbose network .
>
> Would you believe it: this test ran correctly.
>
>
> Feb  5 16:30:45 mythtv[2127696]:
> /home/mythtv/system-events/recording-pending called with parameters 32
> 20230205163500 4 by PID 2127696
> Feb  5 16:35:00 mythtv[2135457]:
> /home/mythtv/system-events/recording-started called with parameters 32
> 20230205163500 by PID 2135457
>
> Here is the corresponding mythbackend log:
>
> root at dracor:~# tail -f /var/log/mythtv/mythbackend.log | grep -e
> REC_PENDING -e REC_STARTED
> Feb  5 16:30:45 dracor mythbackend: mythbackend[1125035]: I Scheduler
> mythcorecontext.cpp:1725 (dispatch) MythCoreContext::dispatch():
> MythEvent: SYSTEM_EVENT REC_PENDING SECS 4 CARDID 32 CHANID 2010
> STARTTIME 2023-02-05T15:35:00Z RECSTATUS -1 VIDEODEVICE
> /usr/bin/mythexternrecorder --conf /home/mythtv/mythexternrecorder1.conf
> VBIDEVICE  SENDER dracor
> Feb  5 16:30:45 dracor mythbackend: mythbackend[1125035]: I
> MythSocketThread(72) mythsocket.cpp:744 (WriteStringListReal)
> MythSocket(557bd8fa0b30:72): write -> 72 237
> BACKEND_MESSAGE[]:[]SYSTEM_EVENT REC_PENDING SECS 4 CARDID 32 CHANID
> 2010 STARTTIME 2023-02-05T15:35:00Z RE…
> Feb  5 16:30:45 dracor mythbackend: mythbackend[1125035]: I SystemEvent
> mythcorecontext.cpp:1725 (dispatch) MythCoreContext::dispatch():
> MythEvent: SYSTEM_EVENT_RESULT REC_PENDING SENDER dracor RESULT 0
> Feb  5 16:30:45 dracor mythbackend: mythbackend[1125035]: I
> MythSocketThread(72) mythsocket.cpp:744 (WriteStringListReal)
> MythSocket(557bd8fa0b30:72): write -> 72 84
> BACKEND_MESSAGE[]:[]SYSTEM_EVENT_RESULT REC_PENDING SENDER dracor RESULT
> 0[]:[]empty
> Feb  5 16:35:00 dracor mythbackend: mythbackend[1125035]: I Scheduler
> mythcorecontext.cpp:1725 (dispatch) MythCoreContext::dispatch():
> MythEvent: SYSTEM_EVENT REC_STARTED CARDID 32 CHANID 2010 STARTTIME
> 2023-02-05T15:35:00Z RECSTATUS -15 VIDEODEVICE
> /usr/bin/mythexternrecorder --conf /home/mythtv/mythexternrecorder1.conf
> VBIDEVICE  SENDER dracor
> Feb  5 16:35:00 dracor mythbackend: mythbackend[1125035]: I
> MythSocketThread(72) mythsocket.cpp:744 (WriteStringListReal)
> MythSocket(557bd8fa0b30:72): write -> 72 231
> BACKEND_MESSAGE[]:[]SYSTEM_EVENT REC_STARTED CARDID 32 CHANID 2010
> STARTTIME 2023-02-05T15:35:00Z RECSTATUS…
> Feb  5 16:35:00 dracor mythbackend: mythbackend[1125035]: I SystemEvent
> mythcorecontext.cpp:1725 (dispatch) MythCoreContext::dispatch():
> MythEvent: SYSTEM_EVENT_RESULT REC_STARTED SENDER dracor RESULT 0
> Feb  5 16:35:00 dracor mythbackend: mythbackend[1125035]: I
> MythSocketThread(72) mythsocket.cpp:744 (WriteStringListReal)
> MythSocket(557bd8fa0b30:72): write -> 72 84
> BACKEND_MESSAGE[]:[]SYSTEM_EVENT_RESULT REC_STARTED SENDER dracor RESULT
> 0[]:[]empty
> Feb  5 16:35:25 dracor mythbackend: mythbackend[1125035]: I ExternSH
> mythcorecontext.cpp:1725 (dispatch) MythCoreContext::dispatch():
> MythEvent: SYSTEM_EVENT REC_STARTED_WRITING CARDID 32 CHANID 2010
> STARTTIME 2023-02-05T15:35:00Z RECSTATUS -2 VIDEODEVICE
> /usr/bin/mythexternrecorder --conf /home/mythtv/mythexternrecorder1.conf
> VBIDEVICE  SENDER dracor
> Feb  5 16:35:25 dracor mythbackend: mythbackend[1125035]: I
> MythSocketThread(72) mythsocket.cpp:744 (WriteStringListReal)
> MythSocket(557bd8fa0b30:72): write -> 72 238
> BACKEND_MESSAGE[]:[]SYSTEM_EVENT REC_STARTED_WRITING CARDID 32 CHANID
> 2010 STARTTIME 2023-02-05T15:35:00Z R…
>
> I'll see if the problem reproduces.
>
> Cheers, Jan
> _______________________________________________
> mythtv-users mailing list
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230205/4c1f0016/attachment.htm>


More information about the mythtv-users mailing list