]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
The protocol version has increased, without my patches. Change my checks.
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 21 Jan 2008 19:25:47 +0000 (08:25 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Mon, 21 Jan 2008 19:26:31 +0000 (08:26 +1300)
Thanks to Marc <drayson@net1plus.com> for spotting the problem.

ChangeLog
bin/mythtv-status

index 9b623a4ba3acd9ebe8d21268b470ed6d116cdb44..96ea0b45c61caaa1dde1dbc2686e35ab164ce963 100644 (file)
--- 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.
index 24ada2d7825faa434d03895a93f291ba2a3d9612..914c91491f4517467b7fe1751eff7a049af39440 100755 (executable)
@@ -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/ ],