[mythtvnz] New install setup - recording problem

Stephen Worthington stephen_agent at jsw.gen.nz
Mon Aug 1 08:16:07 BST 2016


On Mon, 01 Aug 2016 12:24:30 +1200, you wrote:

>The tuner problem is intermittent.Today it's back.I can't see the cause in  
>the logs.
>Here's a link to a new mythbackend log
>https://drive.google.com/open?id=0B5RRWPLTmilhZ2lzSHFUZjdsSUk
>At 10:33 I selected a channel to watch live from the guide.
>At 10:34 I selected to record that channel
>PS  The tip from the forum thread corrected the settings utility start  
>issue.

Tuner [31] is one of the HDHR tuners.  The one that was working in the
last log you posted was [17], one of the internal tuners.

This seems to be the relevant log message - there is one for each time
a tuner failure occurs:

Aug  1 10:33:11 myth mythbackend: mythbackend[2589]: E TVRecEvent
dtvmultiplex.cpp:379 (ParseTuningParams) DTVMux: ParseTuningParams --
Unknown tuner type = 0xffffffff80000000

"Unknown tuner type" seems to be the heart of the problem.  It looks
like you need to set up something more to get the HDHR tuners working.
Do they work using their setup program?  Is your networking setup
different on 16.04 from what it was on 12.04?

You may need to delete the HDHR tuners and re-create them.

You also need to test each tuner individually.  The way to do that is
to use Watch TV, and once you have a channel playing, you can swap to
another tuner using M (menu) => Source => Switch Input and then select
the multi-rec tuner you want to watch.  LiveTV will switch to the
specified tuner and tune it to the channel it was last on, which is
stored in the cardinput.startchan field.  If you then type another
channel number, the current tuner will switch to that channel, but
only if it is capable of tuning to that channel.  So if you have both
DVB-T and DVB-S tuners, if you try to tell a DVB-T tuner to tune to a
DVB-S channel, LiveTV knows that and will automatically switch to the
first available DVB-S tuner and tune that to the DVB-S channel.  As
long as you keep changing to channels the tuner is capable of tuning,
a LiveTV session will keep using the same tuner, which is good for
what we want to do, testing each tuner.

So to fully test all your tuners, you need to use the Switch Input
option to change to one multi-rec tuner on each of your physical
tuners, then select a channel from each of the muxes so it will try
tuning each mux frequency.  I normally use TV One (1), TV3 (3), Prime
(10) and HGTV (17) to test each mux here on Wharite, but on some
different transmitter sites, it may be that the arrangement of
channels on each mux means you need to chose different channels.  It
pays to test with the highest bit rate channel on each mux, if there
is one, as that is the hardest one to tune to.  Test each physical
tuner on all four muxes in turn and see if they all work, or what does
not work.

But also, in the log you posted, why was mythbackend trying to tune on
[31] when [17] presumably was not busy?  What order have you got set
for your tuners?  Use this query:

select
cardid,parentid,videodevice,cardtype,startchan,displayname,schedorder,livetvorder
from capturecard order by videodevice;

to see what the schedorder and livetvorder are set to.  The schedorder
determines which tuners are used first for scheduled recordings, and
the livetvorder determines which are used first for LiveTV.



More information about the mythtvnz mailing list