[mythtv] DVB Channel Scanning.

Stuart Auchterlonie stuarta at squashedfrog.net
Wed Aug 24 23:58:07 UTC 2005


On Wed, Aug 24, 2005 at 02:39:06PM -0400, Daniel Kristjansson wrote:
> On Wed, 2005-08-24 at 15:27 +0100, Stuart Auchterlonie wrote:
> > With svn rev# 7111 I can't get any DVB channels to scan.
> > 
> > I've tried both existing transport scan and full uk scan.
> > The channels themselves are detected but myth setup is
> > complaining that it cannot determine which transport to 
> > associate the channel with.
> > 
> > I'm attaching a logfile from mythtv-setup.
> > 
> > I can do more testing / investigation in a few days time.
> Can you run the scan with "-v channel,siparser" when you have the time?
> 

To answer two questions in one go....

1) I'm in the UK on DVB
2) Found the problem.

In ChannelUtil::GetBetterMplexID you are passing in a network_id
of 1, which is later compared to the network id queried from the
database. These of course do not match so things get lead astray
from then on.....

For reference...
mysql> select mplexid, transportid, networkid, frequency from
dtv_multiplex;
+---------+-------------+-----------+-----------+
| mplexid | transportid | networkid | frequency |
+---------+-------------+-----------+-----------+
|       1 |        8197 |      9018 | 482000000 |
|       2 |        4100 |      9018 | 506000000 |
|       3 |       16384 |      9018 | 530000000 |
|       4 |       24576 |      9018 | 538000000 |
|       5 |       12290 |      9018 | 562000000 |
|       6 |       20480 |      9018 | 578000000 |
+---------+-------------+-----------+-----------+
6 rows in set (0.01 sec)


Sorry, no patch this time. I'll try and work one up
in 24hrs time if you haven't worked out a better solution.

Stuart



More information about the mythtv-dev mailing list