[mythtv-commits] Ticket #3441: Recorded Programmes page does not show no of recordings/disk usage correctly

MythTV mythtv at cvs.mythtv.org
Thu May 10 06:52:53 UTC 2007


#3441: Recorded Programmes page does not show no of recordings/disk usage
correctly
------------------------------------------------------+---------------------
 Reporter:  Nick Morrott <knowledgejunkie at gmail.com>  |       Owner:  xris   
     Type:  defect                                    |      Status:  new    
 Priority:  minor                                     |   Milestone:  unknown
Component:  mythweb                                   |     Version:  head   
 Severity:  medium                                    |  
------------------------------------------------------+---------------------
 I run 2 backends which each have local storage for recordings - the slave
 backend usually only records LiveTV as the master backend contains 4
 tuners and caters for almost all scheduled recordings.

 Looking at the recordings/disk usage stat shows numbers that do not make
 sense:

 "64 programmes, using 138 GB (3 days 22 mins) out of 186 GB (67 GB free)"

 In total, there really are 64 programmes, of which 17 are LiveTV
 recordings on the slave backend disk. However, the size of these
 recordings (~20GB) is being included in the total usage figure of 138GB,
 when the other two figures - total space and free space - only relate to
 the master backend, when the slave is not connected. The actual usage on
 the master machine is ~119GB, which agrees with the other two values in
 the above stat.

 Should we count and label recordings per host, and only update the
 relevant stats depending on whether other backends are connected? For
 example, if my slave is not connected, I would prefer to see something
 like:

 "master.backend: 47 programmes, using 119 GB (2 days 11 mins) out of 186
 GB (67 GB free)"
 "slave.backend: 17 programmes, using 19 GB (1 days) (offline)"

 and when connected:

 "master.backend: 47 programmes, using 119 GB (2 days 11 mins) out of 186
 GB (67 GB free)"
 "slave.backend: 17 programmes, using 19 GB (1 days) out of 140 GB (121 GB
 free)"


 When the slave backend is connected currently, combined usage and combined
 free space are correctly updated to include both:

 "64 programmes, using 138 GB (3 days 22 mins) out of 326 GB (188 GB free)"


 Nick

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


More information about the mythtv-commits mailing list