[mythtv-commits] Ticket #4304: Correct channel numbers not available

MythTV mythtv at cvs.mythtv.org
Mon Dec 10 02:40:11 UTC 2007


#4304: Correct channel numbers not available
-------------------------+--------------------------------------------------
 Reporter:  anonymous    |       Owner:  ijr       
     Type:  enhancement  |      Status:  new       
 Priority:  minor        |   Milestone:  unknown   
Component:  mythtv       |     Version:  0.20-fixes
 Severity:  medium       |     Mlocked:  0         
-------------------------+--------------------------------------------------
 All commercially available DVB hardware seems to assign certain numbering
 to the channels found, but MythTV uses completely different channel
 numbering and ordering.

 The normal channel numbers are not stored in the database by MythTV
 channel scanner, nor are they available in channels.conf, but dvbscan
 prints them during the scanning:

 {{{
 0x0000 0x0031: pmt_pid 0x0100 MTV Oy -- MTV3 (running)
 0x0000 0x0041: pmt_pid 0x0102 SW Television Oy -- Nelonen (running)
 0x0000 0x0061: pmt_pid 0x0101 SubTV Oy -- Subtv (running)
 0x0003 0x0451: pmt_pid 0x010c Fiamax Oy -- DIGIVIIHDE (running)
 0x00f0 0x0011: pmt_pid 0x0100 YLE -- YLE TV1 (running)
 0x00f0 0x0021: pmt_pid 0x0101 YLE -- YLE TV2 (running)
 0x00f0 0x0051: pmt_pid 0x0103 YLE -- YLE FST5 (running)
 }}}

 The two middle hex digits of the second hex value tell the channel number.
 E.g. DIGIVIIHDE has 0x0451, so we take 0x45 to get the channel number 69,
 which is what this station uses in all commercial receivers. The same
 logic works for all the other channels too, as can be seen from the first
 six channels (TV1, TV2, MTV3, Nelonen, FST5, Subtv), numbered from 1 to 6.

 So, I request that you would prefer these numbers whenever possible (i.e.
 no collisions).

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


More information about the mythtv-commits mailing list