mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 13:07:09 +01:00
Merge pull request #3437 from aereaux/consume_increment_playlist_version
Increment playlist_version when a track is consumed.
This commit is contained in:
commit
28fb69a57a
2 changed files with 3 additions and 0 deletions
|
|
@ -639,6 +639,8 @@ class BaseServer(object):
|
|||
self.playlist.pop(old_index)
|
||||
if self.current_index > old_index:
|
||||
self.current_index -= 1
|
||||
self.playlist_version += 1
|
||||
self._send_event("playlist")
|
||||
if self.current_index >= len(self.playlist):
|
||||
# Fallen off the end. Move to stopped state or loop.
|
||||
if self.repeat:
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ Fixes:
|
|||
wiping out their beets database.
|
||||
Thanks to :user:`logan-arens`.
|
||||
:bug:`1934`
|
||||
* :doc:`/plugins/bpd`: Fix the transition to next track when in consume mode.
|
||||
|
||||
For plugin developers:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue