[mythtv] Ticket #7731: Delay file deletion in mythtranscode

Jim Stichnoth stichnot at gmail.com
Mon Feb 1 01:58:32 UTC 2010

On Sun, Jan 31, 2010 at 1:46 PM, MythTV <mythtv at cvs.mythtv.org> wrote:
> #7731: Delay file deletion in mythtranscode
> ------------------------------------+---------------------------------------
>  Reporter:  stichnot@…              |       Owner:  ijr
>     Type:  patch                   |      Status:  new
>  Priority:  minor                   |   Milestone:  unknown
> Component:  MythTV - Mythtranscode  |     Version:  unknown
>  Severity:  medium                  |     Mlocked:  0
> ------------------------------------+---------------------------------------
> Comment(by ajlill@…):
>  I (and some others) have noticed a problem where commercial flagging
>  doesn't flag the last 10 or so minutes of a program. On my system
>  transcoding and commercial flagging run in parallel, and transcoding is
>  slightly faster than commercial flagging. If transcoding finishes before
>  commercial flagging, will the commflagger see a premature end of file and
>  stop? Can your patch be extended to wait for running commflaggers to
>  finish as well?
> --
> Ticket URL: <http://svn.mythtv.org/trac/ticket/7731#comment:4>

Transcoding and commflagging aren't supposed to run on the same
program at the same time.  It sounds like there's a bug that
accidentally allows that, which is being looked at now.

Nonetheless, it would be easy enough to change the SQL query on the
inuseprograms table to wait for other kinds of accesses in addition to
player accesses to complete, if there turns out to be a need.


More information about the mythtv-dev mailing list