Add changelog entry, wrap long comment lines.

This commit is contained in:
Artem Utin 2017-01-24 11:41:26 +10:00
parent 2ab1f3ae89
commit 40eef2056c
2 changed files with 6 additions and 2 deletions

View file

@ -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:

View file

@ -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)