[mythtv] [bug] autoadded dvb channel on analog card

Taylor Jacob rtjacob at earthlink.net
Sun Feb 6 17:30:36 UTC 2005


Quoting Tom Hughes <tom at compton.nu>:
> > While looking at the channels table i found something odd.
> > Mythtv found a new channel CH11 on my dvb card, all dvb channels have
> > sourceid=2 but this channel have sourceid=1 which happends to be the analog
> > card.
>
> This happened to me to. I think the reason is that when TVRec::TVRec
> creates an SIScan object it always gives 1 as the source ID so if a
> new channel is added that is the source it gets.

Good catch.  The global SourceID in SIScan needs to be removed later on, but its
not a trivial fix for before .17. The problem is the bad global SourceID was
used in UpdateServicesInDB.. I changed this so that it gets the proper SourceID
when it gets the serviceVersion from dtv_multiplex.  This should be in .17.

Taylor


More information about the mythtv-dev mailing list