Opened 18 years ago
Closed 18 years ago
#758 closed enhancement (fixed)
In "disk usage" / "typical recording profile", using machine's average instead of fixed value
Reported by: | 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)
Change History (3)
Changed 18 years ago by
Attachment: | statusbox-avg.patch added |
---|
Changed 18 years ago by
Attachment: | statusbox-avg2.patch added |
---|
moved sum to mysql, removed left-over debugging output
Note: See
TracTickets for help on using
tickets.
proposed patch (also fixes spurious space in displayed string)