<div dir="ltr">After a very long weekend, here is the write-up recap of a couple errors and how I fixed them:<div><br></div><div>"JumptoProgram's OpenFile Failed" </div><div><span style="font-size:12.8000001907349px">"E CoreContext fileringbuffer.cpp:300 (OpenFile) FileRingBuf(/var/lib/mythtv/</span><span style="font-size:12.8000001907349px">livetv/1043_20150805170925.</span><span style="font-size:12.8000001907349px">mpg): OpenFile(): File too small (0B)"</span></div><div>"Error opening jump program file buffer". </div><div>These three errors were for the most part coming up together. </div><div><br></div><div>Note: Had already updated HDHomerun Prime firmware to latest version available so assumed that wasn't an issue. </div><div><br></div><div>1) Removed and re-added tuners - didn't work</div><div><br></div><div>2) Increased HD Ringbuffer size - didn't work. </div><div>    2a) I did however find out a couple things about the HD Ringbuffer. HD Ringbuffer max is set to 94Mb. I don't know why there is a max on this? Is it not useful to increase above a certain threshold? Is the max leftover from when boxes didn't have as much memory? Only indication of a possible problem I could find increasing this was related to swapping.  </div><div>    2b) The ringbuffer used to be re-assigned on a per channel basis from what I gathered reading older posts. However, my assumption is this is no longer true in MythTV because my logs indicated that the ringbuffer was already running when switching channels and it didn't start a new thread (it instead added to the one already running). This is purely my assumption based on my logs. If someone (user or dev) can clarify exactly how the ringbuffer works, feel free to do so if you are inclined so we can all learn some more.</div><div><br></div><div>3) Tried learning about dummy tuners after seeing what I perceived as a possible error - Long story short, not an issue</div><div>    3a) The perceived "error" looked something like DUMMY: 8004 <span style="color:rgb(0,0,0);font-size:13.3333330154419px">(15:22:06 to 15:22:15) </span><span style="color:rgb(0,0,0);font-size:13.3333330154419px">HDHomerun: 8004 (15:22:15 to 15:22:36) discontinuous. The HDHomerun is not the only tuner card that uses these dummy tuners in this way and so I don't think this is likely to be a cause of issues. </span></div><div><span style="color:rgb(0,0,0);font-size:13.3333330154419px">    3b) There are actually dummy tuners (now called Demo tuners) in MythTV. These were originally designed for use on devices such as laptops to emulate a tuner in software so a dev could work on an issue and contribute without having the actual hardware. These also can be used in advanced setups for backends which have no tuners but might need to emulate one to work properly. </span></div><div><span style="color:rgb(0,0,0);font-size:13.3333330154419px"><br></span></div><div><font color="#000000"><span style="font-size:13.3333330154419px">4) Increased the signal and tuning timeouts of the Prime - After this set and step 5 I could consistently open and view some of the LiveTV channels. </span></font></div><div><span style="color:rgb(0,0,0);font-size:13.3333330154419px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:13.3333330154419px">5) Changed the quick tuning setting for Prime to "Always" because I thought maybe there was a partial lock problem. Read the link mentioned eariler if anyone wants a bit more info on the quick tuning setting. I don't think the current description in Myth accurately describes it. I'll quote the part I found most useful:</span></div><div><span style="font-size:12.8000001907349px">"</span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica">It sounds as if mythtv gets confused when NOT quick-tuning if the station</span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica"> </span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica">doesn't provide full stream information. Quick-tuning doesn't care about</span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica"> </span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica">the stream info, therefore it gives a workaround for missing info.</span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica"> </span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica">This works well so long as you don't have two channels with the same callsign.</span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica"> </span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica">I think perhaps we might want a "Only when necessary" option for "Quick Tuning",</span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica"> </span><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica">rather than "Always" or "Never" there."</span></div><div><span style="color:rgb(0,0,0);font-size:13.3333330154419px"><br></span></div><div><font color="#000000"><span style="font-size:13.3333330154419px">6) Navigated to the Prime's HTML logs. Everything looked fine. Navigated to channel lineup. Here is where I found the issue. I noticed the Prime had two of the channels I couldn't tune as DRM channels even though the information provided by the cable company said they weren't. Boom, used the channel editor to remove them and everything fired up perfectly. So long story short, no DRM channels! Check even if the cable company says they aren't.</span></font></div><div><font color="#000000"><span style="font-size:13.3333330154419px"><br></span></font></div><div><font color="#000000"><span style="font-size:13.3333330154419px"><br></span></font></div><div><font color="#000000"><span style="font-size:13.3333330154419px">Bonus error fix: </span></font></div><div><span style="color:rgb(0,0,0);font-size:13.3333330154419px">"Failed to initialize multiplex options" and "unknown tuner type =0x2000"</span></div><div><font color="#000000"><span style="font-size:13.3333330154419px">I'm quite new to Myth and was receiving this error when originally trying to set up the Prime for LiveTV. After searching I couldn't find the answer and turned to the mailing list. Note this Prime is being used with a CableCard. </span></font></div><div><font color="#000000"><span style="font-size:13.3333330154419px"><br></span></font></div><div><font color="#000000"><span style="font-size:13.3333330154419px">As Gary Buhrmaster pointed out to me:</span></font></div><div><font color="#000000"><span style="font-size:13.3333330154419px">"</span></font><span style="font-size:12.8000001907349px">It sounds like you are not using the Prime as a CableCARD device, </span><span style="font-size:12.8000001907349px">but instead are trying to use it as a clear QAM device (EIT does </span><span style="font-size:12.8000001907349px">not work with Cable Systems, you have to investigate Schedules </span><span style="font-size:12.8000001907349px">Direct). You cannot scan for channels with a CableCARD device </span><span style="font-size:12.8000001907349px">(well, at least MythTV has no support for accessing the various </span><span style="font-size:12.8000001907349px">OCUR facilities to access the CableCARD channel information)."</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">He was right. I assumed the channel information was able to be pulled because the CableCard would help decrypt everything (including the channel info). I was wrong in this assumption and so if you are having this multiplex error, check to make sure you aren't trying to pull EIT info while using it as CableCard device. </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div>Thanks again everyone! Hope this quick write-up helps someone solve a problem in the future. Started talking to Peter about the wiki so got that answered too. </div></div>