Fix progress report

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

View file

@ -98,8 +98,10 @@ 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})
if update:
self.settings['last_progress'] = datetime.today()
if self.waitForAbort(1):