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

Jan Ceuleers jan.ceuleers at gmail.com
Sun Feb 5 15:39:13 UTC 2023


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


More information about the mythtv-users mailing list