mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-13 12:55:07 +00:00
Fix report progress
And other issues
This commit is contained in:
parent
5f9c071c39
commit
77843c7f1d
5 changed files with 20 additions and 11 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue