Adding Digital Cable Channels (For ATSC/QAM Tuner Cards -- USA/Canada) Rev 1
From MythTV Official Wiki
Introduction
The original guide discusses how to use the built-in channel scanner. In my area, a lot of digital channels show-up in the scan but contain no content. In addition, some channels do not show-up at all. I've created some ways to automate a manual scanning method.
Process
- Log-in to schedulesdirect.org and set-up your line-ups as necessary.
- Stop mythfrontend and mythbackend
- Start mythtv-setup
- Add tuner card(s) if necessary.
- Add line-ups as necessary
- Associate line-ups with tuner cards
- Go to the channel scanner and scan digital line-ups
- Exit mythtv-setup
- Run dvbscan (or scan) from the command line to produce an output of all (encrypted and unencrypted channels)
scan -a 0 us-Cable-Standard-center-frequencies-QAM256 > scan.log
- Run the Fix_scan_chan.pl script to rename the channels to something that is easier to read
perl fix_scan_chan.pl < scan.log > scan.conf
- Run the Dvb_grabber.pl script to capture all unencrypted channels available from your provider
perl dvb_scanner.pl -a 0 -f scan.conf
- Grab a pad of paper and a pencil and watch all the video you just grabbed to determine what it is:
for f in *.ts ; do mplayer $f; done
- Now create a CSV file to describe the content you just saw:
channum,callsign,name,xmltvid,visible,freqid,serviceid 18,WGNAMER,WGN America,17098,1,110,5
Note the column header names are critical, but the order is not important. I use the information from schedules direct to get all the required information except the freqid and serviceid.
- Start mythbackend
- Now run the Rename_qam.pl script to modify the channels the mythtv scanner found.
- Now run mythfilldatabase to populate your new channels with guide data.
- Start mythfrontend to see your guide data