diff --git a/addon.xml b/addon.xml index 7a3c61a5..fecc0def 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/changelog.txt b/changelog.txt index 40e8bb9a..507e2042 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +version 2.2.3 +- Fix resume + version 2.2.2 - Fix dialog crash in the manual sync - Fix view duplicate views appearing via launching the emby add-on, when grouping views in emby diff --git a/resources/lib/player.py b/resources/lib/player.py index 1fe64d17..5eece2cc 100644 --- a/resources/lib/player.py +++ b/resources/lib/player.py @@ -377,7 +377,7 @@ class Player(xbmc.Player): log("Report: %s" % postdata, 2) self.ws.sendProgressUpdate(postdata) - def onPlayBackPaused( self ): + def onPlayBackPaused(self): currentFile = self.currentFile self.logMsg("PLAYBACK_PAUSED: %s" % currentFile, 2) @@ -387,7 +387,7 @@ class Player(xbmc.Player): self.reportPlayback() - def onPlayBackResumed( self ): + def onPlayBackResumed(self): currentFile = self.currentFile self.logMsg("PLAYBACK_RESUMED: %s" % currentFile, 2) @@ -397,7 +397,7 @@ class Player(xbmc.Player): self.reportPlayback() - def onPlayBackSeek( self, time, seekOffset ): + def onPlayBackSeek(self, time, seekOffset): # Make position when seeking a bit more accurate currentFile = self.currentFile self.logMsg("PLAYBACK_SEEK: %s" % currentFile, 2) @@ -408,7 +408,7 @@ class Player(xbmc.Player): self.reportPlayback() - def onPlayBackStopped( self ): + def onPlayBackStopped(self): log = self.logMsg window = utils.window @@ -420,7 +420,7 @@ class Player(xbmc.Player): log("Clear playlist properties.", 1) self.stopAll() - def onPlayBackEnded( self ): + def onPlayBackEnded(self): # Will be called when xbmc stops playing a file self.logMsg("ONPLAYBACK_ENDED", 2) utils.window('emby_customPlaylist.seektime', clear=True)