It's rather difficult to figure out when we've stopped due to lack of
selected tracks when random play is disabled, so, err... I don't bother.
I think the server should send a specific message in its log.
$info{track} = $f[2];
decode_track_name $sk, %info;
notify "$TITLE: Scratched by $f[3]", format_now_playing %info;
$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";