[mythtv] "ClassicComm" detector vs "Comm2" detector

Eduard Huguet eduardhc at gmail.com
Sun Nov 9 14:53:28 UTC 2008

> ---------- Missatge reenviat ----------
> From: Jos Hoekstra <joshoekstra at gmx.net>
> To: Development of mythtv <mythtv-dev at mythtv.org>
> Date: Sat, 08 Nov 2008 16:26:35 +0100
> Subject: Re: [mythtv] "ClassicComm" detector vs "Comm2" detector
> Eduard Huguet schreef op 5-11-2008 13:10:
>> Hi,
>>    By looking at the code inside ClassicCommDetector.cpp I found an
>> (apparently) undocumented setting, "CommDetectMaxCommBreakLength", with a
>> default value of 395s (6 min and a half). As this matched the maximum skip
>> jump I as observing, I set this value to 900 (15 min) and commercial
>> skipping is working realy finer now... :D
>> Best regards,
>>  Eduard
> Can the same setting be made in de DB or is it hardcoded? I wouldn't mind
> setting this to 10 minutes to skip a complete commercial instead of having
> to manually skip the last 1,5 minute of a commercial.
> Kind regards,
> Jos Hoekstra

It's a DB setting, sorry if I didn't explain it very well :D
You can tune this value by connecting to your MythTV database and typing:

  insert into settings values ('CommDetectMaxCommBreakLength', '600',

Replace <hostname> by your real hostname name, obviously ;).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20081109/3c53dff2/attachment.htm 

More information about the mythtv-dev mailing list