From: Andrew Ruthven Date: Thu, 19 May 2011 09:14:18 +0000 (+1200) Subject: Use the current ProtoVer as used by 0.23. X-Git-Tag: debian-0.10.0-1~16 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f2d37e48d9a397d0740f525da03cb6c6be09c2;p=mythtv-status.git Use the current ProtoVer as used by 0.23. --- 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' => {