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

MythTV mythtv at cvs.mythtv.org
Thu Jan 28 16:18:00 UTC 2010


#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 Jim Stichnoth <stichnot@…>):

 Updated with *_3.patch files.  Disregard older files.

 The original delay_unlink_fix_bookmark patch had a problem in which the
 file size could be updated in the database (due to truncation from a
 cutlist) while the original file was still being played.  In this case,
 playback of the original file would exit prematurely when it reached the
 point corresponding to the new file length.  Worse, it would not set a
 bookmark on exit because it thought it was at the end of the recording.

 The new patch delays CompleteJob() until *all* playback instances of the
 recording have exited.  This simplifies things because we don't need to
 support simultaneous playback of the old and new files (though there is a
 very small window that could still allow simultaneous playback).

 The delay_unlink_3.patch and fix_bookmark_3.patch files are now
 independent.  I have also provided a combined
 delay_unlink_fix_bookmark_3.patch for convenience.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7731#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list