~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bin/disorder-notify (watch_and_notify0): Mention when we stop.
[profile]
/
bin
/
disorder-notify
diff --git
a/bin/disorder-notify
b/bin/disorder-notify
index
95ed576
..
2b0d5e8
100755
(executable)
--- a/
bin/disorder-notify
+++ b/
bin/disorder-notify
@@
-238,6
+238,8
@@
sub watch_and_notify0 ($) {
$info{track} = $f[2];
decode_track_name $sk, %info;
notify "$TITLE: Scratched by $f[3]", format_now_playing %info;
+ } elsif ($f[1] eq "completed" && !$st->{play}) {
+ notify "$TITLE state", "Stopped";
}
}