<div dir="ltr">Wow, great digging Stephen! Much obliged.<div><br></div><div>The &quot;automatic commercial skipping is not affected by this limit&quot; comment sounds discouraging : (.</div><div><br></div><div>Will</div></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 29, 2013 at 10:19 PM, Stephen Worthington <span dir="ltr">&lt;<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</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="HOEnZb"><div class="h5">On Sun, 29 Dec 2013 19:46:43 -0700, you wrote:<br>
<br>
&gt;Hey mythtv users,<br>
&gt;<br>
&gt;MythTV commercial detection is working for me most of the time, but<br>
&gt;sometimes it&#39;s incorrectly detecting especially long breaks; 5 and 6<br>
&gt;minutes, during a show where breaks are at most 2:30 (and usually<br>
&gt;1:40-1:55).<br>
&gt;<br>
&gt;I recall there being a setting in the commflagging setup for a &quot;maximum<br>
&gt;commercial skip&quot; time; if mythcommflag detected a &quot;commercial&quot; to go longer<br>
&gt;than this length of time, the break would be ended. However, it seems this<br>
&gt;is no longer an option, at least not in the GUI. Is this something that was<br>
&gt;removed, or moved, does anyone know? Is there a way to configure it again?<br>
&gt;<br>
&gt;Thanks in advance,<br>
&gt;<br>
&gt;Will<br>
<br>
</div></div>I can remember setting that option in the past, but I can never<br>
remember where any option like that is in the GUI unless I use it<br>
frequently.  Like you, I tried to find it but was unable to by just<br>
browsing the settings.  But I found that it is still present in my<br>
settings table - it is called MaximumCommercialSkip, and I have it set<br>
to 600 (presumably seconds).  So I grepped the 0.27-fixes source code<br>
and found references to it in<br>
mythtv/programs/mythfrontend/globalsettings.cpp.  On loading the I<br>
globalsettings.cpp file I found this code:<br>
<br>
static GlobalSpinBox *MaximumCommercialSkip()<br>
{<br>
    GlobalSpinBox *bs = new GlobalSpinBox(&quot;MaximumCommercialSkip&quot;, 0,<br>
3600, 10);<br>
<br>
    bs-&gt;setLabel(PlaybackSettings::tr(&quot;Maximum commercial skip<br>
(secs)&quot;));<br>
<br>
    bs-&gt;setHelpText(PlaybackSettings::tr(&quot;MythTV will discourage long<br>
manual &quot;<br>
                                         &quot;commercial skips. Skips<br>
which are &quot;<br>
                                         &quot;longer than this will<br>
require the &quot;<br>
                                         &quot;user to hit the SKIP key<br>
twice. &quot;<br>
                                         &quot;Automatic commercial<br>
skipping is &quot;<br>
                                         &quot;not affected by this<br>
limit.&quot;));<br>
<br>
    bs-&gt;setValue(3600);<br>
<br>
    return bs;<br>
}<br>
<br>
which means that it is in the playback settings.  So I went to Setup &gt;<br>
Video &gt; Playback &gt; Advert Skip 8/8) and there it was: Maximum advert<br>
skip (secs).<br>
<br>
There has got to be a better way to find obscure settings!<br>
<br>
PS: We speak English English in New Zealand, not American English, so<br>
wherever it says &quot;Advert&quot; above, you probably will need to substitute<br>
&quot;Commercial&quot;<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br></div>