From: Andrew Ruthven Date: Sun, 30 Dec 2018 10:54:18 +0000 (+1300) Subject: Tidy up the whitespace in the generated line, add a comma X-Git-Tag: 1.0.0~37 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e96e0f847bda9f1d9386869ed85b63a16334f35a;p=mythtv-status.git Tidy up the whitespace in the generated line, add a comma --- diff --git a/bin/mythtv-status b/bin/mythtv-status index 998c0f3..3d46ee9 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -466,9 +466,9 @@ my @blocks = ( 'attrs' => [ qw/title endTime channelName:.\/Channel[@channelName] encoderId:.\/Recording[@encoderId] chanNum:.\/Channel[@chanNum]/ ], - 'template' => "__title__ (__channelName__) " - . ($c->{'encoder_details'} ? ", Enc: __encoderId__, Chan: __chanNum__ " : '') - . "Ends: __endTime__", + 'template' => "__title__ (__channelName__)" + . ($c->{'encoder_details'} ? ", Enc: __encoderId__, Chan: __chanNum__" : '') + . ", Ends: __endTime__", 'rewrite' => { '&endTime' => sub { my ($value, $vars) = @_;