aboutsummaryrefslogtreecommitdiff
path: root/player.go
diff options
context:
space:
mode:
Diffstat (limited to 'player.go')
-rw-r--r--player.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/player.go b/player.go
index a330412..9a3723f 100644
--- a/player.go
+++ b/player.go
@@ -107,9 +107,9 @@ func (player *Player) runMpv() {
player.Backends[currentSong.Source].OnSongFinished(currentSong)
// mpv terminated because it finished playing the song
- if err != nil {
+ if err == nil {
llog.Info("mpv finished. Resetting mpv, and calling next")
- wrms.Next()
+ wrms._lockedNext()
}
}