[mythtv-commits] Ticket #1203: Fix channels.conf import for ATSC OTA/QAM

MythTV mythtv at cvs.mythtv.org
Fri Feb 3 16:01:27 UTC 2006


#1203: Fix channels.conf import for ATSC OTA/QAM
---------------------------------------------------------+------------------
 Reporter:  bolek-mythtv at curl.com (Boleslaw Ciesielski)  |       Owner:  ijr 
     Type:  patch                                        |      Status:  new 
 Priority:  minor                                        |   Milestone:      
Component:  mythtv                                       |     Version:  head
 Severity:  medium                                       |  
---------------------------------------------------------+------------------
 The goal of this patch is to fix the channels.conf import for ATSC enough
 so that a fully functional HDTV channel lineup can be created without
 manually editing the database (for an example of what kind of hoops users
 currently go through see
 http://www.mythtv.org/wiki/index.php/Adding_QAM_Channels_For_HDTV_Tuner_Cards).

 There are three parts of this patch, all very simple:
  * Fix DVBConfParser::parseConfATSC to understand the standard azap
 channels.conf format as produced by atscscan. Someone already posted a
 patch for this a while back but it hasn't been applied and I can't find a
 reference. Sorry for not providing credit.
  * Do not put the serviceid in the channum column. This is bogus and
 creates false matches later when running mythfilldatabase.
  * Allow mythfilldatabase to match channels by callsign in addition to
 channum or xmltvid.


 So, with the patch applied, the procedure to setup HDTV channels is as
 follows:

  1. Create DataDirect lineup at labs.zap2it.com
  2. Run "atscscan yourfrequencyfile >channels.conf" to produce the initial
 channels.conf
  3. Edit channels.conf. You should remove unwanted channels and edit the
 first field of the desired channels to exactly match the callsign of the
 channels as used in the lineup from step 1. Do not touch other fields.
 There should be a one-to-one correspondence between the channels in
 channels.conf and the channels in the zap2it lineup.
  4. Run mythtv-setup and define the video source using the lineup from 1.
  5. Go to Input connections and import the channels.conf file. Note that
 at this stage channel numbers are not filled in yet, so leave the starting
 channel at 0.
  6. Exit setup and run "mythfilldatabase --do_channel_updates". This will
 match channels using callsign and will fill in channum, name and xmltvid
 fields.
  7. Run setup again and change the starting channel number to something
 good.

 I don't know if this patch can go into 0.19, but as it is there is no good
 way to setup HDTV channels (especially with QAM) so maybe it should. I
 tried to make it as small as possible.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1203>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list