Opened 14 years ago

Closed 14 years ago

#758 closed enhancement (fixed)

In "disk usage" / "typical recording profile", using machine's average instead of fixed value

Reported by: mythtv@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

In statusbox / machine status/disk usage, it gives figures for hours left of disk space, using "your typical recording profile". That recording profile is, apparently, 5.5Mbps.

This patch computes the (time-weighted) average of the stored recordings and uses that bitrate, giving a better estimate of the number of hours of disk space left.

Attachments (2)

statusbox-avg.patch (2.2 KB) - added by mythtv@… 14 years ago.
proposed patch (also fixes spurious space in displayed string)
statusbox-avg2.patch (2.0 KB) - added by mythtv@… 14 years ago.
moved sum to mysql, removed left-over debugging output

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by mythtv@…

Attachment: statusbox-avg.patch added

proposed patch (also fixes spurious space in displayed string)

Changed 14 years ago by mythtv@…

Attachment: statusbox-avg2.patch added

moved sum to mysql, removed left-over debugging output

comment:1 Changed 14 years ago by bjm

Resolution: fixed
Status: newclosed

(In [8140]) Hal Burch's status page patch to calculate the average recording size for better estimates of the hours of recording time available based on the free disk space.

Close #758

Note: See TracTickets for help on using tickets.