Hello All, I just got my hdhome run prime last week and finally got it all set up. I end up writing a very ugly bash script to down load the lineup and scan each channel for CCI status and thumb nail the channel. It will then make a simple html report with the info, and since doing a little google search didn&#39;t turn up anything like this I figure I&#39;d share it. <br>
<br>it needs the following programs to run<br>  hdhomerun_config<br>  firefox<br>  ffmpeg<br>  xml_grep<br><br>here&#39;s the usage<br><br>cci_scan &lt;ip address of the prime&gt;<br><br>anyhow its a ugly script so take it for what it is...<br>
regards<br>Eric<br><br><br>#!/bin/bash<br>if [ $1 = $2  ]; then<br>    echo &quot;Usage&quot;<br>    echo &quot;cci_scan &lt;hdhome run ip&gt;&quot;<br>    exit 0<br>fi<br>htf=cci.html<br>file=&quot;vchan.txt&quot;<br>wget $1/lineup.xml<br>
xml_grep GuideNumber lineup.xml --text_only &gt; $file<br>rm lineup.xml<br>echo &quot;&lt;html&gt;&quot; &gt; $htf<br>echo &quot;&lt;body&gt;&quot; &gt;&gt; $htf<br>echo &quot;&lt;h1&gt; CCI Scan `date` &lt;/h1&gt;&quot; &gt;&gt; $htf<br>
x=0<br>lns=`wc -l $file`<br>y=`expr &quot;$lns&quot; : &#39;\([0-9]*\)&#39;`<br>while [ &quot;$x&quot; -lt &quot;$y&quot; ]<br>do<br>    let x=x+1<br>    a=`head -n $x $file | tail -n 1`<br>    echo &quot;&lt;hr /&gt;&quot; &gt;&gt; $htf<br>
    echo &quot;&lt;p&gt;&lt;b&gt;Channel&quot; $a &quot;&lt;/b&gt;&lt;/p&gt;&quot; &gt;&gt; $htf<br>    echo $a<br>    hdhomerun_config $1 set /tuner2/vchannel $a<br>    sleep 3<br>    rp=`hdhomerun_config $1 get /tuner2/vstatus`<br>
    echo &quot;&lt;p&gt;&quot; &gt;&gt; $htf<br>    sleep 0.2<br>    hdhomerun_config $1 save 2 test.mpg &gt; /dev/null 2&gt;&amp;1 &amp;<br>    sleep 4<br>    killall hdhomerun_config &gt; /dev/null 2&gt;&amp;1<br>    ffmpeg -i test.mpg -vframes 1 -an $a.jpg &gt; /dev/null 2&gt;&amp;1<br>
    echo &quot;&lt;a href=&quot;$a&quot;.jpg&gt;&quot; &gt;&gt; $htf<br>    echo &quot;&lt;img src=&quot;$a&quot;.jpg width=100 height=100 /&gt;&lt;/a&gt;  &quot; &gt;&gt; $htf<br>    echo $rp  &quot;&lt;/p&gt;&quot; &gt;&gt; $htf<br>
done<br>echo &quot;&lt;/body&gt;&quot;&gt;&gt; $htf<br>echo &quot;&lt;/html&gt;&quot; &gt;&gt; $htf<br>rm $file<br>rm test.mpg<br>firefox $htf<br>exit 0<br><br>