From b5f2d37e48d9a397d0740f525da03cb6c6be09c2 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Thu, 19 May 2011 21:14:18 +1200 Subject: [PATCH] Use the current ProtoVer as used by 0.23. --- ChangeLog | 7 ++++++- bin/mythtv-status | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5051a2a..c2891fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ -2011-06-15 Andrew Ruthven +2011-05-19 Andrew Ruthven + It seems that MythTV has changed the ProtoVer field in + 0.23 to be a different version number. Update some + stanzas to use current version numbers. + +2011-05-15 Andrew Ruthven My method of trying to ensure that we don't have long lived processes hanging around didn't work. Now we fork a child to perform the query. diff --git a/bin/mythtv-status b/bin/mythtv-status index 10491d6..5fe32f9 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -226,7 +226,7 @@ my @blocks = ( 'name' => 'Encoders', 'type' => 'xpath', 'xpath' => "//Status/Encoders/Encoder", - 'protocol_version' => [ ">= 44", "< 58" ], + 'protocol_version' => [ ">= 44", "< 23058" ], 'attrs' => [ qw/hostname id state connected/ ], 'template' => "__hostname__ (__id__) - __state____connected__", 'rewrite' => { @@ -253,7 +253,7 @@ my @blocks = ( 'name' => 'Encoders', 'type' => 'xpath', 'xpath' => "//Status/Encoders/Encoder", - 'protocol_version' => [ ">= 58" ], + 'protocol_version' => [ ">= 23058" ], 'attrs' => [ qw/hostname id state connected/ ], 'template' => "__hostname__ (__id__) - __state____connected__", 'rewrite' => { -- 2.30.2