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> &lt;<a href="mailto:ian@duckland.org">
ian@duckland.org</a>&gt; 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.&nbsp;&nbsp;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. ;)&nbsp;&nbsp;Given a list of<br>channels in the INFILE, it generates an OUTFILE that contains which<br>channels it can record.&nbsp;&nbsp;You'll need a copy of test-mpeg2.&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-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 &gt; ${OUTFILE}<br><br>while read channum<br>do<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/usr/local/bin/6200ch ${channum}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${GETCH} -r 2 &gt; /tmp/testscan.${channum} &amp;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sleep 5<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kill -2 $!<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sizeoffile=`wc -c /tmp/testscan.${channum} | awk '{print $1}'`<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ ${sizeoffile} -gt 1500000 ]; then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo
&quot;valid channel ${channum}&quot; &gt;&gt; ${OUTFILE}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo
&quot;invalid channel ${channum}&quot; &gt;&gt; ${OUTFILE}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi<br>done &lt; ${INFILE}<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-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>