From: Andrew Ruthven Date: Sat, 8 Dec 2007 04:34:32 +0000 (+1300) Subject: Enforce the xml version (which defaults to 0, so will still work with svn trunk) X-Git-Tag: 0.6.0~13 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37fe09798c487c001bd9e3ac085b51c010c89a5b;p=mythtv-status.git Enforce the xml version (which defaults to 0, so will still work with svn trunk) --- diff --git a/bin/mythtv-status b/bin/mythtv-status index d3e430a..51247d1 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -222,6 +222,7 @@ my @blocks = ( 'type' => 'xpath', 'xpath' => '//Status/MachineInfo/Storage', 'protocol_version' => [ ">= 32", "<= 36" ], + '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__)",