[mythtv-commits] Ticket #2316: channels.conf import adds unscanned channels
MythTV
mythtv at cvs.mythtv.org
Sun Nov 5 03:01:01 UTC 2006
#2316: channels.conf import adds unscanned channels
-------------------------------+--------------------------------------------
Reporter: thomas at boerkel.de | Owner: danielk
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution: fixed
-------------------------------+--------------------------------------------
Changes (by danielk):
* status: new => closed
* resolution: => fixed
Comment:
(In [11682]) Fixes #2316. Adds checks of dvb-utils imported channels
before adding them to the DB.
This also moves the dvb-utils scanner output parsers from dvbtypes.{h,cpp}
to dtvconfparserhelpers.{h,cpp} so that dvb-utils channel maps can be
imported for non-DVB cards like the HDHomeRun without compiling MythTV
with DVB support.
This uses the list of channels generated by the dvb-utils channels.conf
parser to seed the internal channel scanner. It then scan the inserted
transports like it does normally, except that before inserting channels it
checks the parser output and uses it's name for the channel rather than
whatever the scanner picked up. Any channels we find on the same transport
as a channels.conf channel are reported but not added to the database.
This also avoids use of the dvb-utils channels.conf parser's DB
manipulation routines which were causing the problems reported in #2316,
notably channels inserted with the same channel id as an existing channel.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2316#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list