From 8f5174ea209b87c24a1413ce21c5971864d9eea6 Mon Sep 17 00:00:00 2001 Message-Id: <8f5174ea209b87c24a1413ce21c5971864d9eea6.1717769567.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 21 Jul 2018 15:21:39 +0100 Subject: [PATCH] bin/disorder-notify: Report when a track is scratched. Organization: Straylight/Edgeware From: Mark Wooding --- bin/disorder-notify | 2 ++ 1 file changed, 2 insertions(+) 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]; } -- [mdw]