]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Add a bounds check on the protocol_version.
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 16 Sep 2010 09:04:39 +0000 (21:04 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Thu, 16 Sep 2010 09:04:39 +0000 (21:04 +1200)
bin/mythtv-status

index ba686b3344863431abb2999864486d33073faaea..b7066544334e2a8c58e50b0539565481c38417cc 100755 (executable)
@@ -217,7 +217,7 @@ my @blocks = (
     'name'  => 'Encoders',
     'type'  => 'xpath',
     'xpath' => "//Status/Encoders/Encoder",
-    'protocol_version' => [ ">= 44" ],
+    'protocol_version' => [ ">= 44", "< 58" ],
     'attrs' => [ qw/hostname id state connected/ ],
     'template' => "__hostname__ (__id__) - __state____connected__",
     'rewrite' => {