<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sorry for xpost if its not approriate.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Following the recent re-shuffle of PIDs in the UK 
on Freeview, I got fed up manually setting up channels.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have written a PHP script which uses dvbscan 
(part of the LinuxTV tools) to dump out the channel list, and populate the 
channel tables in MythTV.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It populates channel, dvb_channel, and dvb_pids 
automatically.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>At the moment, you have to change one line to 
indicate the starting frequency for your local transmitter. LinuxTV is supplied 
with a list of transmitters and their frequencies.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It uses the ServiceID as the chanID in mythtv (as I 
believe these stay constant)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It also 'fixes up' the radio channels by assigning 
a dummy video PID from the same MUX, so they work in MythTV.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It outputs a SQL script, which you can pipe to 
mysql to do the setup.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can I contribute this to mythtv? i also wanted to 
contribute my auto-archive script (which only works for DVB recordings) as well. 
Is is possible to have partial CVS access for my tools? If not, I will throw 
together a web page with them on.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>g</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>