<div dir="ltr">Thank you both, that is very helpful!<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">-- George</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 27, 2018 at 7:22 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 27 Aug 2018 17:09:06 -0500, you wrote:<br>
<br>
>On 08/27/2018 04:59 PM, George Bingham wrote:<br>
>> I am running Ubuntu 16.04 and MythTV fixes/0.28 (frontend says<br>
>> v0.28.2-5-gae037d0).<br>
>> <br>
>> I see in the systemd backend launch file the following two lines:<br>
>> <br>
>> EnvironmentFile=-/etc/mythtv/additional.args<br>
><br>
>You've got it. The leading - before the file name lets systemd continue<br>
>even if the file doesn't exist.<br>
><br>
>Create it. Owner & group don't matter, as long as user mythtv can read<br>
>it. Mine are mythtv:mythtv and 0644. Could probably be <yourself>:mythtv<br>
>and 0664, but I haven't tried it. Would save you typing sudo...<br>
><br>
>Here's a line from one:<br>
><br>
>ADDITIONAL_ARGS="-v system:debug,jobqueue"<br>
><br>
>Lines can be commented out with a leading # too.<br>
<br>
Yes, exactly like that.  The option to log more about recordings is<br>
"-v record"".  That causes a message to be logged at the end of each<br>
recording telling the recording quality.  This is what I get when I<br>
use live TV - it says there is a gap in the recording, because I<br>
stopped recording before the scheduled end of the programme:<br>
<br>
root@mypvr:/var/log/mythtv# grep -a "overall_score=\"0"<br>
/var/log/mythtv/mythbackend.log<br>
Aug 25 04:30:33 mypvr mythbackend: mythbackend[3531]: I TVRecEvent<br>
tv_rec.cpp:863 (FinishedRecording) TVRec[90]:<br>
FinishedRecording(10073_2018-08-24T16:30:22Z) damaged<br>
recq:<RecordingQuality overall_score="0"<br>
key="10073_2018-08-24T16:30:22Z" countinuity_error_count="0"<br>
packet_count="16583">#012    <Gap start="2018-08-24T16:00:00Z"<br>
end="2018-08-24T16:30:24Z" duration="1824" />#012    <Gap<br>
start="2018-08-24T16:30:32Z" end="2018-08-24T16:45:00Z" duration="867"<br>
/>#012</RecordingQuality><br>
<br>
And this is what I get from a good recording:<br>
<br>
Aug 22 07:51:01 mypvr mythbackend: mythbackend[24251]: I TVRecEvent<br>
tv_rec.cpp:863 (FinishedRecording) TVRec[90]:<br>
FinishedRecording(10074_2018-08-21T18:54:00Z) good<br>
recq:<RecordingQuality overall_score="1"<br>
key="10074_2018-08-21T18:54:00Z" countinuity_error_count="0"<br>
packet_count="5326867" /><br>
<br>
There are lots of other detailed messages about the recording process<br>
also.<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>