Compare commits
2 commits
8db3a0f6e9
...
8194783064
Author | SHA1 | Date | |
---|---|---|---|
8194783064 | |||
73774b5293 |
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ class Sync(Thread):
|
||||||
self.adjust_position()
|
self.adjust_position()
|
||||||
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.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