[mythtv-users] Commercials flagged for shows recorded on channels marked as comm free

Michael T. Dean mtdean at thirdcontact.com
Thu Apr 24 17:22:32 UTC 2008

On 01/25/2008 09:56 AM, Michael T. Dean wrote:
> On 01/25/2008 04:00 AM, Ashley Bostock wrote:
>> I'm running SVN 15558 and have several channels marked as being comm free
>> (BBC channels in the UK).
>> However I've noticed recently that when myth records off the these channels
>> it has started to comm flag them.
>> Any one else seeing this bug?
> There was a ticket submitted at http://svn.mythtv.org/trac/ticket/3823 ,
> but it was closed as worksforme by Chris Pinkham.  I mentioned to him
> that I had seen the issue, too, and that I would look into the cause of
> it.

The problem is that you configured your commercial free channels using 
MythWeb's channel editor rather than the mythtv-setup channel editor.  
MythWeb has not been updated to use the new commmethod field rather than 
the deprecated commfree field.  The new commmethod allows you to specify 
a per-channel commercial detection method; whereas the old was a simple 

So, the answer is:  don't use MythWeb to set the commfree field.  Use 
mythtv-setup to set the commercial detection method to "Commercial Free" 
on each commercial free channel.

I do /not/ recommend this approach, but those who have used MythWeb to 
set the commfree field could do something like:

UPDATE channel SET commmethod = -2 WHERE commfree = 1;

If you break your DB, don't blame me.  Your problem, not mine.  Backup, etc.


More information about the mythtv-users mailing list