[mythtv-users] mythbackend channel change issues
John Hoyt
john.hoyt at gmail.com
Sat Jun 11 20:25:02 UTC 2022
On Sat, Jun 11, 2022 at 4:15 PM John Hoyt <john.hoyt at gmail.com> wrote:
>
>> To prove it's coming from the backend, try: mythbackend --setverbose
>> system:debug
>> You'll see all system events start and end and return code. Leave off the
>> :debug
>> to get less. Use system:none to stop the extra logging.
>>
>
> Bill,
>
> Here's a snippet of the mythbackend log. I believe it shows two calls to
> my channel change script:
>
> Jun 11 16:09:55 mythtv mythbackend: mythbackend[3537]: I MetadataDownload
> metadatagrabber.cpp:377 (RunGrabber) Running Grabber:
> /usr/share/mythtv/metadata/Television/ttvdb4.py -l en -a US -N Chicago Fire
> Retaliation Hit
> Jun 11 16:09:55 mythtv mythbackend: mythbackend[3537]: D MetadataDownload
> mythsystemunix.cpp:808 (Fork) Launching:
> /usr/share/mythtv/metadata/Television/ttvdb4.py -l en -a US -N Chicago Fire
> Retaliation Hit
> Jun 11 16:09:55 mythtv mythbackend: mythbackend[3537]: I MetadataDownload
> mythsystemunix.cpp:965 (Fork) Managed child (PID: 3623) has started!
> command=/usr/share/mythtv/metadata/Television/ttvdb4.py -l en -a US -N
> Chicago Fire Retaliation Hit, timeout=0
> Jun 11 16:09:55 mythtv mythbackend: mythbackend[3537]: I SystemManager
> mythsystemunix.cpp:354 (run) Managed child (PID: 3552) has exited!
> command=/usr/local/bin/ir_channel_change.bash 510, status=0, result=0
>
> *Jun 11 16:09:59 mythtv mythbackend: mythbackend[3537]: D TVRecEvent
> mythsystemunix.cpp:808 (Fork) Launching:
> /usr/local/bin/ir_channel_change.bash 550*Jun 11 16:09:59 mythtv
> mythbackend: mythbackend[3537]: I TVRecEvent mythsystemunix.cpp:965 (Fork)
> Managed child (PID: 3638) has started! *&
> command=/usr/local/bin/ir_channel_change.bash 550, timeout=0
>
> *Jun 11 16:09:59 mythtv mythbackend: mythbackend[3537]: D TVRecEvent
> mythsystemunix.cpp:808 (Fork) Launching:
> /usr/local/bin/ir_channel_change.bash 550*
> Jun 11 16:09:59 mythtv mythbackend: mythbackend[3537]: I TVRecEvent
> mythsystemunix.cpp:965 (Fork) Managed child (PID: 3641) has started! *&
> command=/usr/local/bin/ir_channel_change.bash 550, timeout=0
>
Also, it appears the trap code works:
Jun 11 16:09:59 mythtv mythtv: ir_channel_change: lirc attempting to change
channels to 550
Jun 11 16:09:59 mythtv irsend: lirc_command_run: Sending: SEND_ONCE
Motorola_QIP6200-2 KEY_EXIT
Jun 11 16:09:59 mythtv lircd-0.10.1[1468]: Notice: accepted new client on
/var/run/lirc/lircd
Jun 11 16:09:59 mythtv lircd[1468]: lircd-0.10.1[1468]: Notice: accepted
new client on /var/run/lirc/lircd
*Jun 11 16:09:59 mythtv mythtv: ir_channel_change lirc channel change lock
file exists… exiting*Jun 11 16:09:59 mythtv irsend: lirc_command_run,
state: 0, input: "BEGIN"
Jun 11 16:09:59 mythtv irsend: lirc_command_run, state: 1, input:
"SEND_ONCE Motorola_QIP6200-2 KEY_EXIT"
Jun 11 16:09:59 mythtv lircd[1468]: lircd-0.10.1[1468]: Info: removed client
Jun 11 16:09:59 mythtv irsend: lirc_command_run, state: 2, input: "SUCCESS"
Jun 11 16:09:59 mythtv irsend: lirc_command_run, state: 3, input: "END"
Jun 11 16:09:59 mythtv irsend: lirc_command_run: data:END, status:0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20220611/0d7a3ed4/attachment.htm>
More information about the mythtv-users
mailing list