Fix disabling skipping idle encoders via the config file.
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 8 Sep 2016 20:40:01 +0000 (08:40 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Thu, 8 Sep 2016 20:40:01 +0000 (08:40 +1200)
Thanks to Karl for finding this.

ChangeLog
bin/mythtv-status

index 42914849a75670a0d86b53e54e02db311f5f7fd8..d81efb5d19b99dbf404b4d6f4f541eb8d1f50988 100644 (file)
--- 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
index c5ef4a5f2bcc6b1831007ba2dba9c9253f86f17a..69fb815c329a38819106c5cb5038ba7c09878eda 100755 (executable)
@@ -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;