[mythtv-users] DVB-T card and V4l card, how do I configure it?- SOLUTION

Stephen Brooks mythtv at cazandsteve.plus.com
Fri Jun 10 21:20:27 UTC 2005


Okay I worked it out myself. I'll just post this just incase some else needs 
some help

Add a second video source with just the channels you want, in my case the four 
analog channels, then make sure that the callsigns and channels numbers match 
the other channel.
On Thursday 09 June 2005 23:26, Stephen Brooks wrote:
> First of all as this is my first submission to the list, thanks to all the
> myth developers for a great piece of code! It works a treat......
>
> I have got a mythtv box up and running with a DVB-T card running 0.17
> everything is running fine. This is my first question so please be kind.
>
> I recently added a bttv card that I have had kicking around just so I have
> the option of a second tuner. The bttv card receives four channels these
> four channels are the same as the first four channels on the DVB-T card.
> I've added the channels but bttv card doesn't change channels. I tried lots
> of things then I noticed that when on one of these channels I get the icons
> but I have only set the icons up on the DVB channels.
>
> It seems mythtv is using the DVB row out of the channels table and there is
> no freqid data for these channels.
>
> Both cards share the same source (Radio Times). How do I configure this
> setup?
>
>  below is my channels table.
>
> mysql> select * from channel;
> +--------+---------+--------+----------+------------------+----------------
>--+--------------------------------------+----------+--------------+--------
>-------------------+-------------+----------+------------+--------+-------+-
>---------+----------+---------+---------------+---------------+---------+---
>--------+-----------+
>
> | chanid | channum | freqid | sourceid | callsign         | name           
> |  |
>
> icon                                 | finetune | videofilters | xmltvid
>
> | recpriority | contrast | brightness | colour | hue   | tvformat |
> | commfree visible | outputfilters | useonairguide | mplexid | serviceid |
> | atscsrcid |
>
> +--------+---------+--------+----------+------------------+----------------
>--+--------------------------------------+----------+--------------+--------
>-------------------+-------------+----------+------------+--------+-------+-
>---------+----------+---------+---------------+---------------+---------+---
>--------+-----------+
>
> |   1000 | 1       |        |        1 | BBC ONE          | BBC ONE
> | /usr/share/mythtv/icons/tv/bbc1.gif  |        0 |              |
>
> north-west.bbc1.bbc.co.uk |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        1 |       1 |               |             1 |
> 1 |      4168 |         0 |
>
> |   1001 | 2       |        |        1 | BBC TWO          | BBC TWO
> | /usr/share/mythtv/icons/tv/bbc2.gif  |        0 |              |
>
> north-west.bbc2.bbc.co.uk |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        1 |       1 |               |             1 |
> 1 |      4232 |         0 |
>
> |   1002 | 7       |        |        1 | BBC THREE        | BBC THREE
> | /usr/share/mythtv/icons/tv/bbc3.gif  |        0 |              |
>
> choice.bbc.co.uk          |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        1 |       1 |               |             1 |
> 1 |      4351 |         0 |
>
> |   1003 | 40      |        |        1 | BBC NEWS 24      | BBC NEWS 24    
> |  |
>
> none                                 |        0 |              |
> news-24.bbc.co.uk         |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        1 |       1 |               |             1 |
> 1 |      4415 |         0 |
>
> |   1004 | 51      |        |        1 | BBCi             | BBCi           
> |  |
>
> none                                 |        0 |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 0 |               |             0 |       1 |      4479 |         0 |
> | 1005 | 30      |        |        1 | CBBC Channel     | CBBC Channel
> | /usr/share/mythtv/icons/tv/cbbc.gif  |        0 |              |
>
> cbbc.bbc.co.uk            |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        1 |       1 |               |             1 |
> 1 |      4671 |         0 |
>
> |   1006 | 3       |        |        1 | ITV1             | ITV1
> | /usr/share/mythtv/icons/tv/itv1.gif  |        0 |              |
>
> granadatv.co.uk           |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 2 |      8267 |         0 |
>
> |   1007 | 34      |        |        1 | ITV3             | ITV3
> | /usr/share/mythtv/icons/tv/itv3.gif  |        0 |              |
>
> itv3.itv.co.uk            |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 2 |      8301 |         0 |
>
> |   1008 | 6       |        |        1 | ITV2             | ITV2
> | /usr/share/mythtv/icons/tv/itv2.gif  |        0 |              |
>
> itv2.itv.co.uk            |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 2 |      8325 |         0 |
>
> |   1009 | 4       |        |        1 | Channel 4        | Channel 4
> | /usr/share/mythtv/icons/tv/ch4.gif   |        0 |              |
>
> channel4.com              |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 2 |      8384 |         0 |
>
> |   1010 | 41      |        |        1 | ITV News         | ITV News       
> |  |
>
> none                                 |        0 |              | itn.co.uk
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 1 |               |             1 |       2 |      8588 |         0 |
> | 1011 | 5       |        |        1 | five             | five
> | /usr/share/mythtv/icons/tv/five.gif  |        0 |              |
>
> channel5.co.uk            |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 3 |     12866 |         0 |
>
> |   1012 | 16      |        |        1 | QVC              | QVC            
> |  |
>
> none                                 |        0 |              | qvcuk.com
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 0 |               |             1 |       3 |     13120 |         0 |
> | 1013 | 15      |        |        1 | abc1             | abc1            
> | |
>
> none                                 |        0 |              |
> abc1.disney.com           |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       0 |               |             1 |
> 3 |     14208 |         0 |
>
> |   1014 | 23      |        |        1 | bid tv           | bid tv         
> |  |
>
> none                                 |        0 |              | bid-up.tv
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 0 |               |             0 |       3 |     14272 |         0 |
> | 1015 | 24      |        |        1 | price-drop tv    | price-drop tv   
> | |
>
> none                                 |        0 |              |
> price-drop.tv             |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       0 |               |             0 |
> 3 |     15616 |         0 |
>
> |   1016 | 61      |        |        1 | Red Hot          | Red Hot        
> |  |
>
> none                                 |        0 |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 0 |               |             1 |       3 |     15680 |         0 |
> | 1017 | 36      |        |        1 | Xtraview         | Xtraview        
> | |
>
> none                                 |        0 |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 0 |               |             1 |       3 |     15744 |         0 |
> | 1018 | 47      |        |        1 | Teachers\' TV    | Teachers\' TV   
> | |
>
> none                                 |        0 |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 0 |               |             1 |       3 |     15808 |         0 |
> | 1019 | 45      |        |        1 | BBC PARLMNT      | BBC PARLMNT     
> | |
>
> none                                 |        0 |              |
> parliament.bbc.co.uk      |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       0 |               |             1 |
> 4 |     16768 |         0 |
>
> |   1020 | 10      |        |        1 | BBC FOUR         | BBC FOUR
> | /usr/share/mythtv/icons/tv/bbc4.gif  |        0 |              |
>
> knowledge.bbc.co.uk       |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 4 |     16832 |         0 |
>
> |   1021 | 31      |        |        1 | CBeebies         | CBeebies
> | /usr/share/mythtv/icons/tv/cbeeb.gif |        0 |              |
>
> cbeebies.bbc.co.uk        |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        1 |       1 |               |             1 |
> 4 |     16960 |         0 |
>
> |   1022 | 189     |        |        1 | 701              | 701            
> |  |
>
> none                                 |        0 |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 0 |               |             0 |       4 |     19456 |         0 |
> | 1023 | 190     |        |        1 | 702              | 702             
> | |
>
> none                                 |        0 |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 0 |               |             0 |       4 |     19520 |         0 |
> | 1024 | 191     |        |        1 | 703              | 703             
> | |
>
> none                                 |        0 |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 0 |               |             0 |       4 |     19584 |         0 |
> | 1025 | 46      |        |        1 | Community        | Community       
> | |
>
> none                                 |        0 |              |
> communitychannel.org      |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 4 |     19968 |         0 |
>
> |   1026 | 42      |        |        1 | Sky News         | Sky News       
> |  |
>
> none                                 |        0 |              |
> sky-news.sky.com          |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 5 |     22080 |         0 |
>
> |   1027 | 43      |        |        1 | Sky Spts News    | Sky Spts News  
> |  |
>
> none                                 |        0 |              |
> news.sports.sky.com       |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 5 |     22144 |         0 |
>
> |   1028 | 11      |        |        1 | Sky Travel       | Sky Travel     
> |  |
>
> none                                 |        0 |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 1 |               |             1 |       5 |     22208 |         0 |
> | 1029 | 12      |        |        1 | UKTV History     | UKTV History    
> | |
>
> none                                 |        0 |              |
> ukhistory.tv
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 1 |               |             1 |       5 |     22272 |         0 |
> | 1033 | 193     | NULL   |        1 | 705              | 705             
> | |
>
> none                                 |     NULL |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 1 |               |             0 |       2 |      8452 |         0 |
> | 1034 | 49      | NULL   |        1 | TopUpTv new ch   | TopUpTv new ch  
> | |
>
> none                                 |     NULL |              |
>
> |           0 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 1 |               |             0 |       2 |      8460 |         0 |
> | 1035 | 200     |        |        1 | 1035             | E4 +1           
> | | 0 |              | plus-1.e4.channel4.com    |           0 |
>
> 32768 |      32768 |  32768 | 32768 | Default  |        0 |       1 |
>
> |             0 |    NULL |      NULL |      NULL |
> |   1036 | 1       | 55     |        1 | BBC ONE-Analog   | BBC ONE-Analog 
> |  |
>
> none                                 |     NULL |              |
> north-west.bbc1.bbc.co.uk |          -1 |    32768 |      32768 |  32768 |
> 32768 | Default  |        1 |       1 |               |             0 |
> NULL |      NULL |      NULL |
>
> |   1032 | 14      | NULL   |        1 | E4               | E4             
> |  |
>
> none                                 |     NULL |              |
> e4.channel4.com           |           0 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             1 |
> 2 |      8448 |         0 |
>
> |   1031 | 201     |        |        1 | 1031             | Ftn            
> |  | 0 |              | ftn.tv               |           0 |    32768 |
>
> 32768 |  32768 | 32768 | Default  |        0 |       0 |               |
> 0 |    NULL |      NULL |      NULL |
>
> |   1030 | 202     |        |        1 | 1030             | Xtraview       
> |  | 0 |              | C1885.radiotimes.com      |           0 |
>
> 32768 |      32768 |  32768 | 32768 | Default  |        0 |       0 |
>
> |             0 |    NULL |      NULL |      NULL |
> |   1037 | 2       | 62     |        1 | BBC TW0          | BBC TWO-Analog 
> |  |
>
> none                                 |     NULL |              |
> north-west.bbc2.bbc.co.uk |          -1 |    32768 |      32768 |  32768 |
> 32768 | Default  |        1 |       1 |               |             0 |
> NULL |      NULL |      NULL |
>
> |   1038 | 3       | 59     |        1 | ITV1-Analog      | ITV1-Analog    
> |  |
>
> none                                 |     NULL |              |
> granadatv.co.uk           |          -1 |    32768 |      32768 |  32768 |
> 32768 | Default  |        0 |       1 |               |             0 |
> NULL |      NULL |      NULL |
>
> |   1039 | 4       | 65     |        1 | Channel 4-Analog | Channel
> | 4-Analog |
>
> none                                 |     NULL |              |
> channel4.com
>
> |          -1 |    32768 |      32768 |  32768 | 32768 | Default  |       
> | 0 1 |               |             0 |    NULL |      NULL |      NULL |
>
> +--------+---------+--------+----------+------------------+----------------
>--+--------------------------------------+----------+--------------+--------
>-------------------+-------------+----------+------------+--------+-------+-
>---------+----------+---------+---------------+---------------+---------+---
>--------+-----------+ 40 rows in set (0.05 sec)
>
> mysql>
>
> Thanks in advance for any advice
>
> --
> This email has been verified as Virus free
> Virus Protection and more available at http://www.plus.net


More information about the mythtv-users mailing list