<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>I have previously done all the deleting and re-adding thing.</p>
<p><br>
</p>
<p>Irrespective of how you got to view LiveTV it would not work and some recordings would work and soume would not.</p>
<p><br>
</p>
<p>After reading through this and doing some more research I found that the problem may relate directly to my HDHomeRuns. I am using the command:</p>
<p><br>
</p>
<p><span>hdhomerun_config <device id> get /tuner1/debug</span></p>
<p><br>
</p>
<p>This give you information on what is happening with your tuners, an example is:</p>
<p></p>
<div>tun: ch=auto:177500000 lock=t7qam64:177500000 ss=100 snq=100 seq=100 dbg=-301/-6144<br>
dev: bps=23059328 resync=0 overflow=0<br>
ts:  bps=2884672 te=0 crc=0<br>
net: pps=274 err=0 stop=0<br>
</div>
<p></p>
<p><br>
</p>
<p>Currently the TV is working fine, so I will have to watch what is going on.</p>
<p><br>
</p>
<p>Cheers,</p>
<p><br>
</p>
<p>Girkers<br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Mark Perkins <perkins1724@hotmail.com><br>
<b>Sent:</b> Wednesday, 5 April 2017 1:08 PM<br>
<b>To:</b> Discussion about MythTV; Garth Kirkwood<br>
<b>Subject:</b> Re: [mythtv-users] Live TV constanting failing</font>
<div> </div>
</div>
<div>
<div style="color:black">
<p style="margin:0 0 1em 0; color:black; font-family:sans-serif">On 5 April 2017 11:50:40 AM Garth Kirkwood <girkers@hotmail.com> wrote:</p>
<p style="margin:0 0 1em 0; color:black; font-family:sans-serif">> Since a recent update, I am using LinHES my LiveTV has been having issues. I have two HD HomeRuns however I am just using one at the moment whilst I troubleshoot these issues, the other unit
 displays other issues which I will return too once I complete this issue.<br>
><br>
><br>
> My frontend log is showing two errors when it fails (screen freezes):<br>
><br>
><br>
> mythfrontend[27544]: E Decoder avformatdecoder.cpp:4961 (GetFrame) decoding error#012#011#011#011eno: Unknown error 541478725 (541478725)<br>
><br>
><br>
> And then when I cancel LiveTV and try and go back in, Please Wait flashes and disappears and I get this error:<br>
><br>
> 2017-04-04T18:30:13+10:00 mythfrontend[2302]: E CoreContext livetvchain.cpp:282 (GetEntryAt) GetEntryAt(-1) failed.<br>
> 2017-04-04T18:30:13+10:00 mythfrontend[2302]: E CoreContext livetvchain.cpp:289 (GetEntryAt) It appears that your backend may be misconfigured.  Check your backend logs to determine whether your inputs, lineups, channe$<br>
> 2017-04-04T18:30:13+10:00 mythfrontend[2302]: E CoreContext livetvchain.cpp:306 (EntryToProgram) EntryToProgram(0@1970-01-01T10:00:00) failed to get pginfo</p>
<p style="margin:0 0 1em 0; color:black"></p>
<p style="margin:0 0 1em 0; color:black">Best to start a fresh log file and post whole file from start up to error occurring to give people best chance of picking up what might be wrong.  Need backend log more than frontend log as well, it will show better
 what is wrong.</p>
<p style="margin:0 0 1em 0; color:black">This last line seems to indicate that it has failed to get a channel (channel ID is 0) and failed to get a starttime (starttime is 0 epoch time).
</p>
<p style="margin:0 0 1em 0; color:black">Is your EPG correct? (mythfrontend - manage recordings - schedule recordings - program guide note program guide menu item location is theme dependent).
</p>
<p style="margin:0 0 1em 0; color:black">What happens if you enter livetv via the program guide (highlight program - press m - select watch this channel).
</p>
<p style="margin:0 0 1em 0; color:black">Do scheduled recordings work?  </p>
<p style="margin:0 0 1em 0; color:black">My guess is the problem is in the backend setup. You may find some issues may be pre-emptively cleared by redoing mythtv-setup and deleting all capture cards plus video sources on all hosts and re-adding both from scratch,
 just a vague suggestion might save some troubleshooting time or more quickly highlight where / what the issue is.
<br>
</p>
<p style="margin:0 0 1em 0; color:black; font-family:sans-serif"><br>
> 2017-04-04T18:30:13+10:00 mythfrontend[2302]: E CoreContext tv_play.cpp:2355 (HandleStateChange) TV::HandleStateChange(): LiveTV not successfully started<br>
><br>
><br>
> I can generally fix it in one of two ways, neither of which are long term,<br>
><br>
> 1. Run a repair on the Database can fix it on occasion, however not always;<br>
><br>
> 2. Reboot the backend server<br>
><br>
><br>
> Could anyone suggest as to how to fix this issue long term?<br>
><br>
><br>
> Thanks<br>
><br>
><br>
> Girkers<br>
><br>
><br>
><br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>