[mythtv] Major commflag problems with current CVS

Geoffrey Hausheer mythtv0368 at phracturedblue.com
Sun Jun 20 16:30:12 EDT 2004


On Sun, 20 Jun 2004 15:19:56 -0400 (EDT), Chris Pinkhamwrote:
> 
> > I've just upgraded to the current CVS and have hit a fairly major bug.
> > I turned on the commercial flagging and when the backend was restarted it
> > immediately fired up a few hundred threads, flagging all of my recordings
> > (about 80 of them, which have never been commercial flagged) in parallel.
> > The load on the box hit the roof and eventually mythbackend sucked up all
> 
> If they are old shows, update your recorded table to set the commflagged field
> and this won't happen.  I'm working on something to throttle the number of
> jobs that can get fired off in this circumstance so it shouldn't be a
> problem in the future.
> 
> update recorded
>         set starttime = starttime
>                 commflagged = 3
>         where commflagged = 0;
> 
> That will tell Myth that all those shows are commercial free so it won't try
> to flag them.
> --
No offense Chris, but, again, is there a reason you didn't use the
same method that I used for the transcoder?  It deals with all of
these issues already (use a stack to only process files that are
specifically asked for, and has built in rate processing.  Plus it
would make it easier to deal with the cndition where both commercial
flagging and transcoding are specified.

It just seems like reinventing the wheel to use seperate code for this.

.Geoff


More information about the mythtv-dev mailing list