From: Mark Wooding Date: Sat, 21 Jul 2018 14:21:39 +0000 (+0100) Subject: bin/disorder-notify: Report when a track is scratched. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/8f5174ea209b87c24a1413ce21c5971864d9eea6 bin/disorder-notify: Report when a track is scratched. --- diff --git a/bin/disorder-notify b/bin/disorder-notify index ac329ba..e530cc3 100755 --- a/bin/disorder-notify +++ b/bin/disorder-notify @@ -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]; }