<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div><br>On 12 Mar 2013, at 11:01 AM, "Roger Siddons" <<a href="mailto:dizygotheca@ntlworld.com">dizygotheca@ntlworld.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
<style type="text/css">body { font-family:'DejaVu Sans'; font-size:13px}</style>
On Mon, 11 Mar 2013 23:25:46 -0000, Roger Siddons <<a href="mailto:dizygotheca@ntlworld.com">dizygotheca@ntlworld.com</a>> wrote:<br><br><blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left: 1ex"><div>I've put a new version (v2.0) of the cluster script on the wiki </div><div><br></div><div><a href="http://www.mythtv.org/wiki/Commercial_detection_with_silence_for_UK_freeviewHD#Cluster_Detecting_Version">http://www.mythtv.org/wiki/Commercial_detection_with_silence_for_UK_freeviewHD#Cluster_Detecting_Version</a><br><br></div><div>There's a new silence.py, silence.cpp & Makefile; catagrower.cpp is unchanged.</div><div><br></div><div>It's a re-design that;</div><div><br></div><div>- flags adverts shortly after they end</div><div>- fixes segfaults</div><div>- makes use of Myth headers optional</div><div>- has improved Makefile</div><div><br></div><div>I've made some progress with the python bindings so v3.0, removing the need for headers altogether, shouldn't be far off.</div></blockquote><br><div>Just in case anyone is struggling to get their jobs running, note that the wiki command was wrong. I've corrected it now.<br></div><div><br></div><div>You should be using %VERBOSEMODE% rather than %VERBOSELEVEL%. A quirk of the arg parsing meant that the job would fail silently with the wrong option.</div><div><br></div><div>Apologies to anyone affected.</div></div></blockquote><br><div>Ah ha! Yes I was having that problem but hadn't tracked it down yet. Thanks :-)</div><div><br></div><div>Also in the Makefile I had to add -L/usr/lib/qt4 to get it to compile. I'm assuming this is only necessary if you enable the mythtv libs and qt libs by editing silence.cpp (which I have). </div><div><br></div><div>It's found 7 breaks in a 2hour film from the other night which sounds about right to me. I shall try the chase play flagging tonight when I get home.</div><div><br></div><div>Thanks for all your hard work. </div><div>Rob. </div></body></html>