Fix report progress

And other issues
This commit is contained in:
angelblue05 2018-09-06 17:28:51 -05:00
parent 5f9c071c39
commit 77843c7f1d
5 changed files with 20 additions and 11 deletions

View file

@ -98,9 +98,9 @@ class Service(xbmc.Monitor):
if self.monitor.player.isPlaying():
difference = datetime.today() - self.settings['last_progress']
if difference.seconds > 270:
if difference.seconds > 10:
event("ReportProgressRequested", None)
event('ReportProgressRequested', {'Report': difference.seconds > 270})
self.settings['last_progress'] = datetime.today()
if self.waitForAbort(1):