From 62459d8dfb93539f3895d60f4b2ba6aae31cc7ab Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Tue, 22 Jan 2008 08:27:10 +1300 Subject: [PATCH] Change GB to MB everywhere. --- ChangeLog | 1 + bin/mythtv-status | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 96ea0b4..aac325c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2007-01-22 Andrew Ruthven Change the version boundaries for the disk space blocks to reflect current SVN. + The backend returns the disk usage in MB, not GB. 2007-01-20 Andrew Ruthven Show the shows that will be deleted by the auto expirer, and their diff --git a/bin/mythtv-status b/bin/mythtv-status index 914c914..ac42000 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -243,7 +243,7 @@ my @blocks = ( 'xml_version' => [ "== 0" ], 'attrs' => [ qw/drive_total_total drive_total_used/ ], 'commify' => [ qw/drive_total_total drive_total_used/ ], - 'template' => "Total space is __drive_total_total__ GB, with __drive_total_used__ GB used (__percent__)", + 'template' => "Total space is __drive_total_total__ MB, with __drive_total_used__ MB used (__percent__)", 'format' => 'one line', 'subs' => { 'percent' => sub { @@ -261,7 +261,7 @@ my @blocks = ( 'xml_version' => [ "> 0" ], 'attrs' => [ qw/total used/ ], 'commify' => [ qw/total used/ ], - 'template' => "Total space is __total__ GB, with __used__ GB used (__percent__)", + 'template' => "Total space is __total__ MB, with __used__ MB used (__percent__)", 'format' => 'one line', 'subs' => { 'percent' => sub { @@ -279,7 +279,7 @@ my @blocks = ( 'xml_version' => [ "> 0" ], 'attrs' => [ qw/id total used/ ], 'commify' => [ qw/total used/ ], - 'template' => "Total space for group __id__ is __total__ GB, with __used__ GB used (__percent__)", + 'template' => "Total space for group __id__ is __total__ MB, with __used__ MB used (__percent__)", 'filter' => { 'id' => sub { return $_[0] eq 'total' }, 'used' => sub { -- 2.30.2