Fix progress report

This commit is contained in:
angelblue05 2018-09-08 21:05:41 -05:00
parent db3c134f18
commit cdb3b54026

View file

@ -98,9 +98,11 @@ class Service(xbmc.Monitor):
difference = datetime.today() - self.settings['last_progress']
if difference.seconds > 10:
update = difference.seconds > 250
event('ReportProgressRequested', {'Report': update})
event('ReportProgressRequested', {'Report': difference.seconds > 200})
self.settings['last_progress'] = datetime.today()
if update:
self.settings['last_progress'] = datetime.today()
if self.waitForAbort(1):
break