Channel tuning broken with DVB-C

From MythTV Official Wiki
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 ?

Fixed in 0.27

As of now, you can provide the network_id to select the correct NITother at the bottom of the "video source" screen in mythtv-setup.

See both the (workaround) patch provided by Janne and the script at the ticket #7486 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


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 network_id and transport_id 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 appeared immediately.

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 the wrong network_id being broadcasted as active. 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.