Base fast sync on server time

Try to fix music video refresh to prevent cursor from moving up.
This commit is contained in:
angelblue05 2018-09-21 04:11:39 -05:00
parent 6e601b9061
commit 0f38ab9e3d
2 changed files with 8 additions and 8 deletions

View file

@ -160,6 +160,7 @@ class HTTP(object):
else:
try:
self.config['server-time'] = r.headers['Date']
elapsed = int(r.elapsed.total_seconds() * 1000)
response = r.json()
LOG.debug("---<[ http ][%s ms]", elapsed)