From cc2c35221d28b9be80eb4b1be5c40fc27e0cfd5c Mon Sep 17 00:00:00 2001 From: Carl Suster Date: Thu, 25 Apr 2019 11:41:00 +1000 Subject: [PATCH] bpd: avoid sending playlist events on navigation --- beetsplug/bpd/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/beetsplug/bpd/__init__.py b/beetsplug/bpd/__init__.py index 487999cc7..dca3310d8 100644 --- a/beetsplug/bpd/__init__.py +++ b/beetsplug/bpd/__init__.py @@ -627,7 +627,6 @@ class BaseServer(object): """Advance to the next song in the playlist.""" old_index = self.current_index self.current_index = self._succ_idx() - self._send_event('playlist') if self.consume: # TODO how does consume interact with single+repeat? self.playlist.pop(old_index) @@ -648,7 +647,6 @@ class BaseServer(object): """Step back to the last song.""" old_index = self.current_index self.current_index = self._prev_idx() - self._send_event('playlist') if self.consume: self.playlist.pop(old_index) if self.current_index < 0: