[mythtv-users] Supplying arguments to backend command line

George Bingham georgeb1962 at gmail.com
Tue Aug 28 04:36:25 UTC 2018


Thank you both, that is very helpful!

-- George


On Mon, Aug 27, 2018 at 7:22 PM Stephen Worthington <
stephen_agent at jsw.gen.nz> wrote:

> On Mon, 27 Aug 2018 17:09:06 -0500, you wrote:
>
> >On 08/27/2018 04:59 PM, George Bingham wrote:
> >> I am running Ubuntu 16.04 and MythTV fixes/0.28 (frontend says
> >> v0.28.2-5-gae037d0).
> >>
> >> I see in the systemd backend launch file the following two lines:
> >>
> >> EnvironmentFile=-/etc/mythtv/additional.args
> >
> >You've got it. The leading - before the file name lets systemd continue
> >even if the file doesn't exist.
> >
> >Create it. Owner & group don't matter, as long as user mythtv can read
> >it. Mine are mythtv:mythtv and 0644. Could probably be <yourself>:mythtv
> >and 0664, but I haven't tried it. Would save you typing sudo...
> >
> >Here's a line from one:
> >
> >ADDITIONAL_ARGS="-v system:debug,jobqueue"
> >
> >Lines can be commented out with a leading # too.
>
> Yes, exactly like that.  The option to log more about recordings is
> "-v record"".  That causes a message to be logged at the end of each
> recording telling the recording quality.  This is what I get when I
> use live TV - it says there is a gap in the recording, because I
> stopped recording before the scheduled end of the programme:
>
> root at mypvr:/var/log/mythtv# grep -a "overall_score=\"0"
> /var/log/mythtv/mythbackend.log
> Aug 25 04:30:33 mypvr mythbackend: mythbackend[3531]: I TVRecEvent
> tv_rec.cpp:863 (FinishedRecording) TVRec[90]:
> FinishedRecording(10073_2018-08-24T16:30:22Z) damaged
> recq:<RecordingQuality overall_score="0"
> key="10073_2018-08-24T16:30:22Z" countinuity_error_count="0"
> packet_count="16583">#012    <Gap start="2018-08-24T16:00:00Z"
> end="2018-08-24T16:30:24Z" duration="1824" />#012    <Gap
> start="2018-08-24T16:30:32Z" end="2018-08-24T16:45:00Z" duration="867"
> />#012</RecordingQuality>
>
> And this is what I get from a good recording:
>
> Aug 22 07:51:01 mypvr mythbackend: mythbackend[24251]: I TVRecEvent
> tv_rec.cpp:863 (FinishedRecording) TVRec[90]:
> FinishedRecording(10074_2018-08-21T18:54:00Z) good
> recq:<RecordingQuality overall_score="1"
> key="10074_2018-08-21T18:54:00Z" countinuity_error_count="0"
> packet_count="5326867" />
>
> There are lots of other detailed messages about the recording process
> also.
> _______________________________________________
> 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/20180827/def68dde/attachment.html>


More information about the mythtv-users mailing list