From: Andrew Ruthven Date: Thu, 8 Sep 2016 20:40:01 +0000 (+1200) Subject: Fix disabling skipping idle encoders via the config file. X-Git-Tag: 0.10.8~4 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b3c805b48f6a6ad532dde4a38395d5d3b95a398;p=mythtv-status.git Fix disabling skipping idle encoders via the config file. Thanks to Karl for finding this. --- diff --git a/ChangeLog b/ChangeLog index 4291484..d81efb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-09-09 Andrew Ruthven + Fix a bug where it wasn't possible to disable skipping idle + encoders via the config file. Thanks to Karl for finding this. + 2016-08-02 Andrew Ruthven Fix a long standing bug where if the Next Recording is a week and one day in the future, the Next Recording only shows diff --git a/bin/mythtv-status b/bin/mythtv-status index c5ef4a5..69fb815 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -49,7 +49,7 @@ $c->{'colour'} ||= 0; $c->{'episode'} ||= 0; $c->{'description'} ||= 0; $c->{'encoder_details'} ||= 0; -$c->{'encoder_skip_idle'} ||= 1; +$c->{'encoder_skip_idle'} //= 1; $c->{'email_only_on_alert'} ||= 0; my $help = 0; my $verbose = 0;