Opened 15 years ago

Closed 15 years ago

#6589 closed patch (fixed)

Usability changes for MythTV backend status page

Reported by: sphery <mtdean@…> Owned by: stuartm
Priority: minor Milestone: 0.22
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The attached patches modify the backend status page in various ways to try to make the Disk Usage section of the page more useful--especially in light of the large number of filesystems often used with current MythTV.

mythtv-backend_status-move_total_disk_space_to_top.patch simply moves the "Total Disk Space" section to the top of the list. Then, the per-filesystem details follow. See screenshot at http://misc.thirdcontact.com/MythTV/status_with_total_at_top.png

With the totals at the top, it seems better to break the disk usage information into 2 sections, a "Summary" and a "Details" section. mythtv-backend_status-split_total_and_detailed_storage_info.patch does this (apply on top of mythtv-backend_status-move_total_disk_space_to_top.patch ). See screenshot at http://misc.thirdcontact.com/MythTV/status_with_total_at_top_and_separate_summary_and_details_sections.png

Also, users who rely on auto-expire often find the disk usage information useless. Therefore, mythtv-backend_status-add_livetv_deleted_and_expirable_to_total_space-separate_summary_and_details.patch (apply on top of mythtv-backend_status-split_total_and_detailed_storage_info.patch ) adds the total space used by LiveTV, Deleted, and expirable recordings as well as the total space available after auto-expire. See http://misc.thirdcontact.com/MythTV/status_with_total_at_top_and_separate_summary_and_details_sections_and_autoexpire_totals.png for screenshot.

If you don't want to move the "Total Disk Space" section to the top, mythtv-backend_status-add_livetv_deleted_and_expirable_to_total_space.patch (apply by itself, but only if not moving total section), adds the auto-expire details, but does not move any information. See http://misc.thirdcontact.com/MythTV/status_with_autoexpire_totals_for_LiveTV_Deleted_and_expirable_recordings.png for screenshot.

Note that the auto-expire information is not shown if there are no LiveTV, Deleted, or expirable recordings.

Attachments (4)

mythtv-6589-backend_status-move_total_disk_space_to_top.patch (1.2 KB) - added by sphery <mtdean@…> 15 years ago.
Moves "Total Disk Space" to top
mythtv-6589-backend_status-split_total_and_detailed_storage_info.patch (3.9 KB) - added by sphery <mtdean@…> 15 years ago.
Splits "Disk Usage" into "Summary" and "Details" sections. Apply on top of (after) mythtv-6589-backend_status-move_total_disk_space_to_top.patch
mythtv-6589-backend_status-add_livetv_deleted_and_expirable_to_total_space-separate_summary_and_details.patch (3.5 KB) - added by sphery <mtdean@…> 15 years ago.
Adds auto-expire space usage to Total Disk Space. Apply on top of (after) mythtv-6589-backend_status-split_total_and_detailed_storage_info.patch
mythtv-6589-backend_status-add_livetv_deleted_and_expirable_to_total_space.patch (3.2 KB) - added by sphery <mtdean@…> 15 years ago.
Adds auto-expire usage information to "Total Disk Space". Use alone and only if not moving "Total Disk Space" to the top. (Not for use with other patches.)

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by sphery <mtdean@…>

Moves "Total Disk Space" to top

Changed 15 years ago by sphery <mtdean@…>

Splits "Disk Usage" into "Summary" and "Details" sections. Apply on top of (after) mythtv-6589-backend_status-move_total_disk_space_to_top.patch

Changed 15 years ago by sphery <mtdean@…>

Adds auto-expire space usage to Total Disk Space. Apply on top of (after) mythtv-6589-backend_status-split_total_and_detailed_storage_info.patch

Changed 15 years ago by sphery <mtdean@…>

Adds auto-expire usage information to "Total Disk Space". Use alone and only if not moving "Total Disk Space" to the top. (Not for use with other patches.)

comment:1 Changed 15 years ago by sphery <mtdean@…>

By the way, the auto-expire usage information is only shown for the Total Disk Space section because determining usage at the filesystem level would require both using storage groups to look up/find every single recording /and/ mapping the hostname/directory combination to a filesystem. Doing so would be very slow. If auto-expire information at the filesystem level is desired, we'll need to add some information to the database (i.e. have the autoexpire thread "index" the current locations of everything each run or something).

comment:2 Changed 15 years ago by stuartm

Milestone: unknown0.22
Owner: changed from Isaac Richards to stuartm
Status: newaccepted

comment:3 Changed 15 years ago by stuartm

Resolution: fixed
Status: acceptedclosed

(In [20988]) Re-organise the disk space information in the status screen so that the most important stat, total diskspace, is at the top. Also breakdown usage according to recording type (LiveTV/Deleted/Expirable). Patches from Michael Dean (Sphery). Closes #6589

Note: See TracTickets for help on using tickets.