chiark / gitweb /
bin/disorder-notify: Report when a track is scratched.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 21 Jul 2018 14:21:39 +0000 (15:21 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 21 Jul 2018 14:59:19 +0000 (15:59 +0100)
bin/disorder-notify

index ac329ba4d472e4b73049f0aa6d77bdd58f8a5da4..e530cc35701a4bfd2f005b57ed5b5eadf4b167a0 100755 (executable)
@@ -100,6 +100,8 @@ for (;;) {
        if (defined $startinfo) { $startinfo .= "; " . $msg; }
        else { $startinfo = $msg; }
       }
+    } elsif ($what eq "scratched") {
+      notify "DisOrder state", "Scratched playing track";
     } elsif ($what eq "playing") {
       now_playing $f[2];
     }