From 0abf071457232bdf6d4e297076abdbd8eb1a132c Mon Sep 17 00:00:00 2001
From: Andrew Ruthven <andrew@etc.gen.nz>
Date: Tue, 22 Jan 2008 08:25:47 +1300
Subject: [PATCH] The protocol version has increased, without my patches. 
 Change my checks.

Thanks to Marc <drayson@net1plus.com> for spotting the problem.
---
 ChangeLog         | 4 ++++
 bin/mythtv-status | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9b623a4..96ea0b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-22	Andrew Ruthven
+	Change the version boundaries for the disk space blocks to reflect
+	current SVN.
+
 2007-01-20	Andrew Ruthven
 	Show the shows that will be deleted by the auto expirer, and their
 	order.
diff --git a/bin/mythtv-status b/bin/mythtv-status
index 24ada2d..914c914 100755
--- a/bin/mythtv-status
+++ b/bin/mythtv-status
@@ -239,7 +239,7 @@ my @blocks = (
     'name' => 'Total Disk Space',
     'type' => 'xpath',
     'xpath' => '//Status/MachineInfo/Storage',
-    'protocol_version' => [ ">= 32", "<= 36" ],
+    'protocol_version' => [ ">= 32", "<= 37" ],
     'xml_version' => [ "== 0" ],
     'attrs' => [ qw/drive_total_total drive_total_used/ ],
     'commify' => [ qw/drive_total_total drive_total_used/ ],
@@ -257,7 +257,7 @@ my @blocks = (
     'name' => 'Total Disk Space',
     'type' => 'xpath',
     'xpath' => '//Status/MachineInfo/Storage/Group[@id="total"]',
-    'protocol_version' => [ ">= 36" ],
+    'protocol_version' => [ ">= 38" ],
     'xml_version' => [ "> 0" ],
     'attrs' => [ qw/total used/ ],
     'commify' => [ qw/total used/ ],
@@ -275,7 +275,7 @@ my @blocks = (
     'name' => 'Disk Space',
     'type' => 'xpath',
     'xpath' => '//Status/MachineInfo/Storage/Group',
-    'protocol_version' => [ ">= 36" ],
+    'protocol_version' => [ ">= 38" ],
     'xml_version' => [ "> 0" ],
     'attrs' => [ qw/id total used/ ],
     'commify' => [ qw/total used/ ],
-- 
2.30.2