[mythtv-users] [Solved] Debugging hdhomerun - can I record the same show from multiple tuners in duplicate?

Stephen Worthington stephen_agent at jsw.gen.nz
Sat Mar 4 09:03:40 UTC 2023


On Sat, 4 Mar 2023 15:16:22 +0800, you wrote:

>Hmmm using fixes/32. I had a single very bad recording so I went hunting to see if THAT tuner is bad:
>
>[seagull] /var/log/mythtv [1998]% grep 'overall_score' mythbackend.*
>mythbackend.20230219020210.2421.log-20230302:<RecordingQuality overall_score="0.5" key="10032_2023-03-01T13:32:00Z" continuity_error_count="224286" packet_count="15540838" />
>
>The *only* entry is for that recording and it does not identify the tuner.
>I've not gone spelunking but are there debug flags to set?
>
>James

You may need to add the "-v record" option on the mythbackend command
line.  In Ubuntu, you do this by creating a
/etc/mythtv/additional.args file:

root at mypvr:~# cat /etc/mythtv/additional.args
ADDITIONAL_ARGS=-v record,dvbcam

This file is read by systemd in the
/lib/systemd/system/mythtv-backend.service file:

root at mypvr:~# cat /lib/systemd/system/mythtv-backend.service
[Unit]
Description=MythTV Backend
Documentation=https://www.mythtv.org/wiki/Mythbackend
After=mysql.service network.target

[Service]
User=mythtv
EnvironmentFile=-/etc/mythtv/additional.args
ExecStart=/usr/bin/mythbackend --quiet --syslog local7
$ADDITIONAL_ARGS
StartLimitBurst=10
StartLimitInterval=10m
Restart=on-failure
RestartSec=1

[Install]
WantedBy=multi-user.target

Note that my email client wraps long lines - the $ADDITIONAL_ARGS line
is actually on the end of the previous line.

Not all systemd setups do this, so it depends on your distro - you may
need to add the -v record directly on the mythbackend command line.

I always have -v record as you never know when you may need to
diagnose a bad recording.

Even if the log does not show the tuner used, the I key twice on the
recording should show the tuner.


More information about the mythtv-users mailing list