From 3a0d28b9b44796a48a77ef7f6af944da4be026f1 Mon Sep 17 00:00:00 2001 From: Mark <> Date: Mon, 3 Jun 2024 20:00:45 +0200 Subject: [PATCH] fix playback pausing on playback error --- musicdb-lib/src/player/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/musicdb-lib/src/player/mod.rs b/musicdb-lib/src/player/mod.rs index f4d6824..33db334 100755 --- a/musicdb-lib/src/player/mod.rs +++ b/musicdb-lib/src/player/mod.rs @@ -214,10 +214,6 @@ impl> Player { if db.playing != self.backend.playing() { if db.playing { self.backend.resume(); - // if we can't resume (i.e. there is no song), send `Pause` command - if self.allow_sending_commands && !self.backend.playing() { - db.apply_command(Command::Pause); - } } else { self.backend.pause(); }