reset sync on file change
This commit is contained in:
parent
73774b5293
commit
8194783064
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ class Sync(Thread):
|
||||||
if self._pos != self.mpv.playlist_current_pos:
|
if self._pos != self.mpv.playlist_current_pos:
|
||||||
self._pos = self.mpv.playlist_current_pos
|
self._pos = self.mpv.playlist_current_pos
|
||||||
self.deviations = collections.deque(maxlen=10)
|
self.deviations = collections.deque(maxlen=10)
|
||||||
|
self.need_to_sync = False
|
||||||
try:
|
try:
|
||||||
track = self.mpv.playlist[self._pos]
|
track = self.mpv.playlist[self._pos]
|
||||||
logger.error("%s %s", datetime.now(), track["filename"])
|
logger.error("%s %s", datetime.now(), track["filename"])
|
||||||
|
|
Loading…
Reference in a new issue