Nice! Seems like that would certainly save people some time. I'm on Charter and VERY happy that they aren't doing ANY 5c. <br><br><div><span class="gmail_quote">On 1/10/06, <b class="gmail_sendername">Ian Forde</b> <<a href="mailto:ian@duckland.org">
ian@duckland.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Given the recent conversations concerning firewire issues, I found it
<br>ironic that Comcast just changed a bunch of my channels to do 5c over<br>firewire. But since I have *absolutely* no desire to test each channel<br>to see if it works, then check the DCT-6200 menu to verify it, I did<br>
what any decent sysadmin would do:<br><br>I replaced the task with a small shell script. ;) Given a list of<br>channels in the INFILE, it generates an OUTFILE that contains which<br>channels it can record. You'll need a copy of test-mpeg2. Feel free to
<br>modify the script for your needs... the output from the script can then<br>be used to remap your channels on zap2it...<br><br> -Ian (who wonders why he didn't do this a year ago...)<br><br>#!/bin/sh<br><br>GETCH=/usr/local/src/libiec61883-
1.0.0/examples/test-mpeg2<br>INFILE=/tmp/listofchannels.txt<br>OUTFILE=/tmp/chanscan.txt<br><br>cat /dev/null > ${OUTFILE}<br><br>while read channum<br>do<br> /usr/local/bin/6200ch ${channum}<br> ${GETCH} -r 2 > /tmp/testscan.${channum} &
<br> sleep 5<br> kill -2 $!<br> sizeoffile=`wc -c /tmp/testscan.${channum} | awk '{print $1}'`<br> if [ ${sizeoffile} -gt 1500000 ]; then<br> echo
"valid channel ${channum}" >> ${OUTFILE}<br> else<br> echo
"invalid channel ${channum}" >> ${OUTFILE}<br> fi<br>done < ${INFILE}<br><br> -I<br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>