mirror of
https://github.com/beetbox/beets.git
synced 2026-12-03 10:45:06 -06:00
Add changelog entry, wrap long comment lines.
This commit is contained in:
@@ -266,8 +266,11 @@ class MPDStats(object):
|
||||
if self.now_playing:
|
||||
if self.now_playing['path'] != path:
|
||||
self.handle_song_change(self.now_playing)
|
||||
else: # in case we got mpd play event with same song playing multiple times
|
||||
# assume low diff means redundant second play event after natural song start
|
||||
else:
|
||||
# In case we got mpd play event with same song playing
|
||||
# multiple times,
|
||||
# assume low diff means redundant second play event
|
||||
# after natural song start.
|
||||
diff = abs(time.time() - self.now_playing['started'])
|
||||
|
||||
if diff <= self.time_threshold:
|
||||
|
||||
@@ -31,6 +31,7 @@ Fixes:
|
||||
* :doc:`/plugins/bpd`: Report playback times as integer. :bug:`2394`
|
||||
* :doc:`/plugins/mpdstats`: Fix Python 3 compatibility. The plugin also now
|
||||
requires version 0.4.2 or later of the ``python-mpd2`` library. :bug:`2405`
|
||||
* :doc:`/plugins/mpdstats`: Improve handling of mpd status queries.
|
||||
|
||||
|
||||
1.4.3 (January 9, 2017)
|
||||
|
||||
Reference in New Issue
Block a user