[mythtv-commits] Ticket #3640: mythtv-setup stores incorrect transport frequencies (DVB-C)

MythTV mythtv at cvs.mythtv.org
Mon Feb 11 23:54:23 UTC 2008

#3640: mythtv-setup stores incorrect transport frequencies (DVB-C)
 Reporter:  anonymous    |        Owner:  janne
     Type:  defect       |       Status:  new  
 Priority:  minor        |    Milestone:  0.21 
Component:  channelscan  |      Version:  head 
 Severity:  low          |   Resolution:       
  Mlocked:  0            |  

Comment(by janne):

 Replying to [comment:33 klaas.de.waal at gmail.com]:

 > I have made a patch for libs/libmythtv/mpeg/dvbstreamdata.cpp in which
 it searches
 > for a user-defined network ID, in my case hardcoded to 1111.

 I would prefer my approach
 dvb_broken_nit_providers1.diff] since it doesn't include as much code.

 > N.B. The network ID stored in dtv_multiplex is still 1000. This does not

 That's probably correct since it is not the network id but the original
 network id which is probably 1000 for your channels.

 > Instead of using a hard-coded network ID a better way is to add an
 option to
 > MythTV to let the user specify the network ID for DVB-C networks, and
 store this
 > somewhere in the MySQL database.
 > I think the best place for the user-defined network ID is in the
 > table.

 It belongs to the video source since it a video source dependent fixup.
 Please try to make sure that the setting is not to easily activated as
 users with standard conform providers don't need it.

 > I have made some testcode to do just that; I'm currently stuck at what
 is the best
 > way to get the value of the user-defined network ID from videosource
 table in the
 > MySQL database into the dvbstreamdata.cpp code. Suggestions are most

 Function for dvbstreamdata from which scanstreamdata inherits called in
 the siscan constructor (libs/libmythtv/siscan.cpp). I'm unsure how siscan
 should know the correct NetworkID. Probably with a sql query in the the
 constructor (implemented as cardutil function). Adding it as argument to
 the siscan constructor is equally ugly.

Ticket URL: <http://svn.mythtv.org/trac/ticket/3640#comment:34>
MythTV <http://svn.mythtv.org/trac>

More information about the mythtv-commits mailing list