mirror of
https://github.com/beetbox/beets.git
synced 2026-02-09 00:41:57 +01:00
Enable play counts for repeated plays of the same song.
This commit is contained in:
parent
eb338d208b
commit
c2770a5f6b
1 changed files with 3 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue