From: Andrew Ruthven Date: Mon, 21 Jan 2008 19:27:10 +0000 (+1300) Subject: Change GB to MB everywhere. X-Git-Tag: 0.7.1~4 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62459d8dfb93539f3895d60f4b2ba6aae31cc7ab;p=mythtv-status.git Change GB to MB everywhere. --- 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 {