<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 6 March 2013 02:50, Roger Siddons <span dir="ltr">&lt;<a href="mailto:dizygotheca@ntlworld.com" target="_blank">dizygotheca@ntlworld.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, 05 Mar 2013 10:20:38 -0000, &lt;<a href="mailto:phipps-hutton@sky.com" target="_blank">phipps-hutton@sky.com</a>&gt; wrote:<br>

<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I get a segfualt at the end that is fixed with this patch:<br>
<br>
</blockquote>
<br></div>
Good spot. What logging are you using? Have you tweaked it further? And how did you detect this ?<br>
It occurs on the last line and doesn&#39;t affect functionality but I&#39;m concerned that I don&#39;t see any indication of this on my system, even though it must be segfaulting every time.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I&#39;ve not used this very long but is it waiting for the next set of silences before recording the last advert break? It just seems to take longer to record a break than I was expecting.<br>
<br>
</blockquote>
<br></div>
It does. On a typical programme, this design will only flag the 1st advert when it reaches the 2nd. It seemed elegant when only comflagging completed recordings, which is what I did until a couple of days ago.<br>
I rarely watch in-progress recordings and only tacked this on as a result of our recent discussions. So it is currently rubbish at flagging in-progress recordings!<br>
I&#39;m currently re-designing it to work effectively - v2 ETA ~1 week.<br>
<br>
Moreover, I noticed yesterday that a comflagging job still doesn&#39;t flag a programme that you&#39;re watching (for my shoddy testing I only ran the script manually). I was hoping to get v2 out before anyone noticed, but the fix for that is to change silence.py #156 to:<br>

<br>
    # player update message needs prog id (with time in Qt::ISODate format)<br>
    progId = str(chanid) + &#39;_&#39; + str(starttime).replace(&#39; &#39;,&#39;T&#39;)<div class="HOEnZb"><div class="h5"><br>
<br></div></div></blockquote><div>Hi Roger,<br><br></div><div>how did you determin your silence.presets?<br><br></div><div>trial and error or do you have some script you can run over recordings?<br><br></div><div>I find this works fine with the defaults on most Australian channels but there are a few which it detects no ad&#39;s. ie.Nine Digital<br>
<br></div><div>Cheers,<br><br></div><div>Anthony <br></div></div><br></div></div>