aboutsummaryrefslogtreecommitdiff
path: root/wrms.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-05-21 17:50:51 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-05-21 17:50:51 +0200
commiteb76608e7287db4b26d877deccce138daee849da (patch)
tree9117519023cf91b48cbcb28e69be90e0f16b345b /wrms.go
parent0db007609efb842f43d837988eff15b31765f615 (diff)
downloadWRMS-eb76608e7287db4b26d877deccce138daee849da.tar.gz
WRMS-eb76608e7287db4b26d877deccce138daee849da.zip
add OnSongFinished backend hook allowing to remove uploaded songs
Diffstat (limited to 'wrms.go')
-rw-r--r--wrms.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/wrms.go b/wrms.go
index 22cd62a..cf2e20c 100644
--- a/wrms.go
+++ b/wrms.go
@@ -113,6 +113,8 @@ func (wrms *Wrms) AddSong(song Song) {
}
func (wrms *Wrms) Next() {
+ llog.DDebug("Next Song")
+
next := wrms.queue.PopSong()
if next == nil {
wrms.CurrentSong.Uri = ""