Enable play counts for repeated plays of the same song.

This commit is contained in:
gdtwst 2017-10-04 19:10:59 +07:00
parent eb338d208b
commit c2770a5f6b

View file

@ -271,6 +271,9 @@ class MPDStats(object):
if diff <= self.time_threshold:
return
if self.now_playing['path'] == path and played == 0:
self.handle_song_change(self.now_playing)
if is_url(path):
self._log.info(u'playing stream {0}', displayable_path(path))