[mythtv-commits] Ticket #11476: Broadcast (over-the-air) schedule refresh incomplete or absent

MythTV noreply at mythtv.org
Fri Jul 19 18:04:24 UTC 2013


#11476: Broadcast (over-the-air) schedule refresh incomplete or absent
----------------------------------+-----------------------------
 Reporter:  deadletterfile@…      |          Owner:  stuarta
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  unknown
Component:  MythTV - EIT          |        Version:  Master Head
 Severity:  medium                |     Resolution:
 Keywords:  schedule              |  Ticket locked:  0
----------------------------------+-----------------------------

Comment (by deadletterfile@…):

 I have reverted the eitScanStartTime = MythDate::current().addSecs(8192)
 back to addYears(1)
 EIT scans continued to fail to complete the run through my ten multiplexes
 and the random start positions of scans eventually caused EIT data loss.

 I have one channel (and on occasion others) for which
 `TVRec::TuningSignalCheck(void)` would fail with:
 `TuningSignalCheck:` `SignalMonitor timed out`.

 Looking at the function, the above is part of the "else if" of an if/else
 if/else code segment. The "else if" does not produce a return within the
 "else if" and instead drops down to the "return streamData" at the end of
 the function. I am guessing that with no signal, the "else if" should
 return NULL. In addition, scanner->`StopActiveScan()` is potentially
 executed, which I believe kills the TVRec instance of EITScan, and channel
 scanning for this instance is stopped.
 If one has only one tuner card, and mythbackend is relatively inert, EIT
 program data is lost.

 I have substituted below in the "else if" portion of `TuningSignalCheck:`

         return NULL;
 `//`        if (scanner && `HasFlags(kFlagEITScannerRunning))`
 `//`        //        {
 `//`        //            `scanner->StopActiveScan();`
 `//`        //            `ClearFlags(kFlagEITScannerRunning);`
 `//`        //        }

 So far, EIT scans run to completion and continuously loops through the
 multiplex list as the original programmers intended.
 `-` RoyBoy626

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11476#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list