From: Andrew Ruthven Date: Sun, 12 Apr 2009 00:32:49 +0000 (+1200) Subject: Show the encoderId, not the the inputId in the "Recording Now" block. X-Git-Tag: 0.9.2~3 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad1ac1427afc50a9c897a111083ceffee4f4f537;p=mythtv-status.git Show the encoderId, not the the inputId in the "Recording Now" block. --- diff --git a/bin/mythtv-status b/bin/mythtv-status index e0e165c..5b57751 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -235,10 +235,10 @@ my @blocks = ( 'xpath' => "//Status/Encoders/Encoder/Program", 'hide' => 'after', 'attrs' => [ qw/title endTime channelName:.\/Channel[@channelName] - inputId:.\/Channel[@inputId] + encoderId:.\/Recording[@encoderId] chanNum:.\/Channel[@chanNum]/ ], 'template' => "__title__ (__channelName__" - . ($c->{'encoder_details'} ? ", Enc: __inputId__, Chan: __chanNum__" : '') + . ($c->{'encoder_details'} ? ", Enc: __encoderId__, Chan: __chanNum__" : '') . ") Ends: __endTime__", 'rewrite' => { '/endTime/' => { '.*T' => '' },