[mythtv-commits] Ticket #7936: MythTV is expiring just recorded recordings instead of older recordings

MythTV mythtv at cvs.mythtv.org
Tue Jan 19 20:25:39 UTC 2010


#7936: MythTV is expiring just recorded recordings instead of older recordings
----------------------------------------------------+-----------------------
 Reporter:  Jonathan Martens <jonathan@…>           |       Owner:  ijr           
     Type:  defect                                  |      Status:  infoneeded_new
 Priority:  major                                   |   Milestone:  unknown       
Component:  MythTV - General                        |     Version:  0.22-fixes    
 Severity:  high                                    |     Mlocked:  0             
----------------------------------------------------+-----------------------

Comment(by Jonathan Martens <jonathan@…>):

 Replying to [comment:1 stuartm]:
 > Can you include the priority of those recordings and tell us which
 expire method you are using?

 mysql> SELECT COUNT(*), recpriority FROM recorded WHERE autoexpire=1 AND
 preserve=0 GROUP BY recpriority ORDER BY starttime ASC;
 +----------+-------------+
 | COUNT(*) | recpriority |
 +----------+-------------+
 |       96 |           2 |
 |       50 |           1 |
 |       35 |           0 |
 +----------+-------------+
 3 rows in set (0.00 sec)

 > Oldest first, lowest priority, oldest + lowest etc (please doublecheck)

 Judging from my setup dialog I am using lowest priority, still there are
 35 records with priority 0 of which most of them are older than the
 recording that was expired:

 {{{
 mysql> SELECT starttime, endtime, recpriority FROM recorded WHERE
 autoexpire=1 AND preserve=0 AND recpriority=0 ORDER BY starttime ASC;
 +---------------------+---------------------+-------------+
 | starttime           | endtime             | recpriority |
 +---------------------+---------------------+-------------+
 | 2009-08-19 19:33:00 | 2009-08-19 20:42:00 |           0 |
 | 2009-08-19 22:38:00 | 2009-08-19 23:42:00 |           0 |
 | 2009-08-20 18:38:00 | 2009-08-20 19:47:00 |           0 |
 | 2009-08-20 19:33:00 | 2009-08-20 20:42:00 |           0 |
 | 2009-08-20 21:23:00 | 2009-08-20 22:07:00 |           0 |
 | 2009-08-21 18:38:00 | 2009-08-21 19:47:00 |           0 |
 | 2009-08-21 19:33:00 | 2009-08-21 20:42:00 |           0 |
 | 2009-08-22 21:13:36 | 2009-08-22 21:54:00 |           0 |
 | 2009-08-22 23:28:00 | 2009-08-23 06:37:00 |           0 |
 | 2009-08-23 23:20:00 | 2009-08-24 00:42:00 |           0 |
 | 2009-08-24 21:23:00 | 2009-08-24 22:32:00 |           0 |
 | 2009-08-26 22:38:00 | 2009-08-26 23:42:00 |           0 |
 | 2009-08-27 21:23:00 | 2009-08-27 22:07:00 |           0 |
 | 2009-08-28 22:44:31 | 2009-08-29 01:27:00 |           0 |
 | 2009-08-31 20:28:00 | 2009-08-31 21:25:00 |           0 |
 | 2009-08-31 21:23:00 | 2009-08-31 22:32:00 |           0 |
 | 2009-08-31 21:25:00 | 2009-08-31 22:27:00 |           0 |
 | 2009-09-02 22:50:00 | 2009-09-02 23:52:00 |           0 |
 | 2009-09-03 21:30:00 | 2009-09-03 22:07:00 |           0 |
 | 2009-09-07 20:28:00 | 2009-09-07 21:25:00 |           0 |
 | 2009-09-07 20:28:00 | 2009-09-07 21:25:00 |           0 |
 | 2009-09-07 21:25:00 | 2009-09-07 22:27:00 |           0 |
 | 2009-09-08 21:23:00 | 2009-09-08 22:42:00 |           0 |
 | 2009-09-09 22:48:00 | 2009-09-09 23:52:00 |           0 |
 | 2009-09-10 20:23:00 | 2009-09-10 21:12:00 |           0 |
 | 2009-09-10 21:25:00 | 2009-09-10 22:07:00 |           0 |
 | 2009-09-11 21:58:00 | 2009-09-11 23:32:00 |           0 |
 | 2009-09-13 21:22:38 | 2009-09-13 22:30:00 |           0 |
 | 2009-09-13 22:43:00 | 2009-09-13 23:47:00 |           0 |
 | 2009-09-14 20:28:00 | 2009-09-14 21:25:00 |           0 |
 | 2009-09-14 21:25:00 | 2009-09-14 22:27:00 |           0 |
 | 2009-09-14 21:53:00 | 2009-09-14 22:37:00 |           0 |
 | 2009-09-15 23:58:00 | 2009-09-16 01:07:00 |           0 |
 | 2010-01-18 21:25:00 | 2010-01-18 22:37:00 |           0 |
 | 2010-01-19 13:13:00 | 2010-01-19 14:12:00 |           0 |
 +---------------------+---------------------+-------------+
 35 rows in set (0.00 sec)
 }}}

 I am not sure if with my current expire setting the age of a recording is
 taken into account when the priority is the same, but it might have been
 the expired (and just recorded show) also had a recpriority of 0.

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


More information about the mythtv-commits mailing list