diff --git a/addon.xml b/addon.xml index d6b03cbb..5a8dcc71 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/service.py b/service.py index 820e5d43..93ef1d8f 100644 --- a/service.py +++ b/service.py @@ -117,6 +117,12 @@ class Service(): self.logMsg("Exception reporting progress: %s" % msg) pass lastProgressUpdate = datetime.today() + elif WINDOW.getProperty('commandUpdate') == "true": + try: + WINDOW.clearProperty('commandUpdate') + player.reportPlayback() + except: pass + lastProgressUpdate = datetime.today() # only try autoplay when there's 20 seconds or less remaining and only once! addonSettings = xbmcaddon.Addon(id='plugin.video.emby')