Channel tuning broken with DVB-C

From MythTV Official Wiki
Revision as of 21:36, 4 August 2012 by Bas.t (talk | contribs) (Ziggo (merger of @home, Casema and multikabel))

Jump to: navigation, search

Whats wrong ?

With some cable providers scanning for channels seem to work fine, but its not possible to tune the channels. Two problems are known:

1. Some provider change the modulation of satellite feeds for DVB-C but don't modify the device information. One have to scan each frequency manually but there is no way around it.

2. These providers have different regional channel lineups but generate the SI in a central place. They transmit for each region one NIT all the time. The DVB standard has a flag to indicate whether a NIT is for the actual network or for an other network. This information is not correct for all but one of the regional networks. One has to know the network id to get the correct network information table.

There is only one simple solution for these problems: Talk to your cable provider they need fix it!

How can we fix it ?

See both the (workaround) patch provided by Janne and the script at the ticket #3640 for this issue.

modified solution

1. Install MythTV as usual

$ apt-get install mythtv

2. Create a czap channels.conf

You need (dvb)scan and w_scan.

$ ./

Warning: This will take several hours!

At least on my machine running this combination of (dvb)scan, w_scan and different parameters finds more channels than a simple scan.

3. Import into MythTV

Import czap-final.txt (created in step 2) into MythTV.

4. Fix database with modified

This script will fix the database and enable EIT on all channels. Its a modified version of, because channel names dont match exactly depending on the different scanners.

$ /etc/init.d/mythbackend stop

$ myusername mypassword ./czap-final.txt

$ /etc/init.d/mythbackend start

5. Profit!

Broken providers


Ziggo (merger of @home, Casema and multikabel)

No intention of changing this. All their supported boxes have the possibility to enter the frequency and network number. This non-DVB behaviour seems to become more and more standard.

However, a fix for this problem in MythTV is available. See for details.

For master and fixes/0.25 a pullrequest has been sent to the mythtv devs. Let's hope they will actually pull in these requests.

See and for details

If you are compiling from source, aplying this fix is very easy:

(from this article)

git clone && cd mythtv

git checkout fixes/0.25

git remote add -f bas-t git://

git cherry-pick 4d3ff242d9



Germany has some major providers and several small/regional providers (around 50% of population is forced to use the smaller broken ones).

Resells to: Kabel Medien Service Muenchen, ...

State: 2008-06-26 Broken The modified mythic solution worked for me!

Technical support told me that they copy the NIT directly from SAT, because the don't know any receiver which has problems with this. They WON'T fix it.

ewt muenchen

I had the problem that EIT did not show (watching TV was no problem). Reason: MythTV could not detect NID and TID and left the columns transportid and networkid of dtv_multiplex NULL. Filled them manually with the respective values from ASTRA. Also filled all cells with NULL values in this table. After restart of mythbackend, eit tuned channels appeard immediatelly.

Funk & Technik ( and AVC (

~ 50% of the cable network from Cottbus/Germany

State: 2008-06-26 Broken

NIT/NIT-o directly from Astra 19.2E and They WON'T fix it.



Skanderborg AF gets the DVB stream directly from YouSee - and broadcast that to the costumers. They do not modify NIT - resulting in a wrong network ID being broadcasted. I've tried both the dvb_broken_nit_providers1.diff and dvbstreamdata.cpp.patch. Both patches seems to get a pretty good scanning (Though NOT all channels are found). UPDATE: 31/05-09: Lately things has changes on the YouSee network - and the dvb_broken_nit_providers1.diff patch seems to no longer do the trick! The dvbstreamdata.cpp.patch patch seems to work fine though!

The " solution" gets a good amount of channels (The same as with above patches) - but still a few channels are missing.