From 2c485713d887bd152e9fc2d24cf648dde1ef546c Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Thu, 16 Sep 2010 21:04:39 +1200 Subject: [PATCH] Add a bounds check on the protocol_version. --- bin/mythtv-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mythtv-status b/bin/mythtv-status index ba686b3..b706654 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -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' => { -- 2.30.2