[mythtv-commits] Ticket #1485: DVB Scanning Issues

MythTV mythtv at cvs.mythtv.org
Sun Mar 26 23:42:39 UTC 2006

#1485: DVB Scanning Issues
 Reporter:  f.lange at hccnet.nl  |        Owner:  stuarta
     Type:  defect             |       Status:  new    
 Priority:  minor              |    Milestone:  0.20   
Component:  dvb                |      Version:  head   
 Severity:  low                |   Resolution:         
Comment (by stuart at tase.co.uk):

 sdt.patch - Two connected problems prevented us from using the SDT data
 and thus from getting channels names/numbers/callsigns. In almost every
 scan we are seeing the SDT before the NIT. We can insert channels based on
 the SDT alone but the transports from the NIT need to go into the DB
 first. So the patch just ignores the SDT until we see the NIT. It might be
 faster to cache the first SDT we see and use it once we have run
 HandleNIT, which is why I've labelled this a temporary fix.

 The second problem was a flaw in HasCachedAllSDT. We weren't seeing the
 NIT before the SDT so this function would always fail, but it also wrongly
 compares the number of transports in the NIT to the number of cached SDTs.
 If scanning just one transport at a time we will see six transports in the
 NIT but only one SDT. HasCachedAllSDT would make sense if we cached the
 SDTs from all transports but not if we are only examining one transport at
 a time.

 getbettermplex.patch - (*current).mplexid (HandleDVBDBInsertion) never
 seems to correspond to an existing mplexid. This would cause
 GetBetterMplexID to always fail in UpdateSDTinDB and prevent it from
 completing. Created a new method "GetExistingMplexID" to replace it gives
 the intended behaviour. Daniel, you might want to approach this another
 way, I went for the quick fix.

Ticket URL: <http://cvs.mythtv.org/trac/ticket/1485>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list