<div dir="ltr">Wow, great digging Stephen! Much obliged.<div><br></div><div>The "automatic commercial skipping is not affected by this limit" 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"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></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>
>Hey mythtv users,<br>
><br>
>MythTV commercial detection is working for me most of the time, but<br>
>sometimes it's incorrectly detecting especially long breaks; 5 and 6<br>
>minutes, during a show where breaks are at most 2:30 (and usually<br>
>1:40-1:55).<br>
><br>
>I recall there being a setting in the commflagging setup for a "maximum<br>
>commercial skip" time; if mythcommflag detected a "commercial" to go longer<br>
>than this length of time, the break would be ended. However, it seems this<br>
>is no longer an option, at least not in the GUI. Is this something that was<br>
>removed, or moved, does anyone know? Is there a way to configure it again?<br>
><br>
>Thanks in advance,<br>
><br>
>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("MaximumCommercialSkip", 0,<br>
3600, 10);<br>
<br>
bs->setLabel(PlaybackSettings::tr("Maximum commercial skip<br>
(secs)"));<br>
<br>
bs->setHelpText(PlaybackSettings::tr("MythTV will discourage long<br>
manual "<br>
"commercial skips. Skips<br>
which are "<br>
"longer than this will<br>
require the "<br>
"user to hit the SKIP key<br>
twice. "<br>
"Automatic commercial<br>
skipping is "<br>
"not affected by this<br>
limit."));<br>
<br>
bs->setValue(3600);<br>
<br>
return bs;<br>
}<br>
<br>
which means that it is in the playback settings. So I went to Setup ><br>
Video > Playback > 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 "Advert" above, you probably will need to substitute<br>
"Commercial"<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>