aboutsummaryrefslogtreecommitdiff
path: root/wrms.go
diff options
context:
space:
mode:
Diffstat (limited to 'wrms.go')
-rw-r--r--wrms.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/wrms.go b/wrms.go
index 607798c..252c14e 100644
--- a/wrms.go
+++ b/wrms.go
@@ -121,6 +121,7 @@ func (wrms *Wrms) PlayPause() {
wrms.Next()
if wrms.CurrentSong.Uri == "" {
llog.Info("No song left to play")
+ wrms.Broadcast(Event{"stop", []Song{}})
return
}
}