chiark / gitweb /
bin/disorder-notify: Fix accidental use of a bareword.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 21 Jul 2018 14:12:22 +0000 (15:12 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 21 Jul 2018 14:57:58 +0000 (15:57 +0100)
bin/disorder-notify

index 6d540dc3a66a0214192a5d3fe81d3e7bc84cf8f2..3f6823c855ac33cc7268a29eaef35d001b28eb1b 100755 (executable)
@@ -72,7 +72,7 @@ for (;;) {
       } elsif ($st eq "resume") {
        notify "DisOrder state", "Resuming";
       }
-    } elsif ($what eq playing) {
+    } elsif ($what eq "playing") {
       my $track = $f[2];
       my %p;
       for my $p ("artist", "album", "title")