diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-05-28 20:45:49 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-05-28 20:45:49 +0200 |
| commit | b984be919754018aa48bba1bf134da03c9baf2a8 (patch) | |
| tree | d797950454eb21837e7808b4daebf7882f53a370 /wrms.go | |
| parent | ae2620f84494dd7f816bba51ed7d48039090ed07 (diff) | |
| download | WRMS-b984be919754018aa48bba1bf134da03c9baf2a8.tar.gz WRMS-b984be919754018aa48bba1bf134da03c9baf2a8.zip | |
fix next song not beeing removed from the playlist
Diffstat (limited to 'wrms.go')
| -rw-r--r-- | wrms.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -127,6 +127,8 @@ func (wrms *Wrms) Next() { return } + wrms.CurrentSong = *next + llog.Info("popped next song and removing it from the song list %v", next) for i, s := range wrms.Songs { @@ -137,7 +139,6 @@ func (wrms *Wrms) Next() { } } - wrms.CurrentSong = *next if wrms.Playing { wrms.startPlaying() } |
