[mythtv-commits] Ticket #821: autoexpire doesn't delete short-recordings immediately

MythTV mythtv at cvs.mythtv.org
Fri Dec 16 14:42:08 EST 2005


#821: autoexpire doesn't delete short-recordings immediately
---------------------+------------------------------------------------------
 Reporter:  ghaushe  |       Owner:  ijr 
     Type:  defect   |      Status:  new 
 Priority:  minor    |   Milestone:      
Component:  mythtv   |     Version:  head
 Severity:  medium   |  
---------------------+------------------------------------------------------
 The autoexpire code which is supposed to remove short recordings isn't
 working for me.
 {{{
 mysql> select starttime, endtime from recorded where recgroup = "LiveTV";
 +---------------------+---------------------+
 | starttime           | endtime             |
 +---------------------+---------------------+
 | 2005-12-16 11:31:32 | 2005-12-16 12:00:00 |
 | 2005-12-16 11:31:33 | 2005-12-16 11:32:00 |
 | 2005-12-16 11:31:09 | 2005-12-16 12:00:00 |
 | 2005-12-16 11:30:55 | 2005-12-16 12:00:00 |
 | 2005-12-16 11:30:54 | 2005-12-16 12:00:00 |
 | 2005-12-16 11:30:36 | 2005-12-16 12:00:00 |
 | 2005-12-16 11:30:37 | 2005-12-16 12:00:00 |
 }}}
 obviously I was channel surfing, as the starttimes change quickly, but
 the endtime is still set to the program end time.

 This results in autoExpire doing nothing with these since this check
 always fails:
 endtime < DATE_ADD(starttime, INTERVAL '2' MINUTE)

 However, you'll see there is one file which has an endtime of 11:32:00
 which is probably correct, and this one got deleted appropriately.  Not
 sure why none of the rest worked correctly.  This is based on latest
 SVN8291

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/821>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list