From 517ad519adfe9549261236e7e20a9e7f5f798bda Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Wed, 20 Oct 2021 22:48:38 +0200 Subject: [PATCH] made "enqueue" mode more consistent --- bin/mpdevil | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mpdevil b/bin/mpdevil index cad0057..3e67ea6 100755 --- a/bin/mpdevil +++ b/bin/mpdevil @@ -705,7 +705,8 @@ class Client(MPDClient): def enqueue(files): status=self.status() if status["state"] == "stop": - play(files) + self.clear() + append(files) else: self.moveid(status["songid"], 0) current_song_file=self.currentsong()["file"] @@ -766,7 +767,6 @@ class Client(MPDClient): if status["state"] == "stop": self.clear() append() - self.play() else: self.moveid(status["songid"], 0) current_song_file=self.currentsong()["file"]