diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2022-08-01 22:51:38 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2022-08-01 22:51:38 +0200 |
| commit | a315477b92d2c6f96c5b4d2b25e2447f250f9682 (patch) | |
| tree | 9ab90bf7b699baa6dc99c7ef5c1241b314999068 /wrms.go | |
| parent | 5900302b27ef2ee45bfe14c7184f78706b863931 (diff) | |
| download | WRMS-a315477b92d2c6f96c5b4d2b25e2447f250f9682.tar.gz WRMS-a315477b92d2c6f96c5b4d2b25e2447f250f9682.zip | |
add and handle stop event
Diffstat (limited to 'wrms.go')
| -rw-r--r-- | wrms.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 } } |
