]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Show the encoderId, not the the inputId in the "Recording Now" block.
authorAndrew Ruthven <andrew@etc.gen.nz>
Sun, 12 Apr 2009 00:32:49 +0000 (12:32 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Sun, 12 Apr 2009 00:32:49 +0000 (12:32 +1200)
bin/mythtv-status

index e0e165c44fed9cca52396d5173027114d2dbab5f..5b577513d9847c028ea497eb2eba021303273897 100755 (executable)
@@ -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' => '' },