~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b106596
)
bin/disorder-notify: Report when a track is scratched.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 21 Jul 2018 14:21:39 +0000
(15:21 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 21 Jul 2018 14:59:19 +0000
(15:59 +0100)
bin/disorder-notify
patch
|
blob
|
blame
|
history
diff --git
a/bin/disorder-notify
b/bin/disorder-notify
index
ac329ba
..
e530cc3
100755
(executable)
--- a/
bin/disorder-notify
+++ b/
bin/disorder-notify
@@
-100,6
+100,8
@@
for (;;) {
if (defined $startinfo) { $startinfo .= "; " . $msg; }
else { $startinfo = $msg; }
}
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];
}
} elsif ($what eq "playing") {
now_playing $f[2];
}