From ad1ac1427afc50a9c897a111083ceffee4f4f537 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sun, 12 Apr 2009 12:32:49 +1200 Subject: [PATCH] Show the encoderId, not the the inputId in the "Recording Now" block. --- bin/mythtv-status | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' => '' }, -- 2.30.2