mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
parent
513362eb2b
commit
52994a65a2
1 changed files with 1 additions and 8 deletions
|
@ -208,14 +208,7 @@ class Player( xbmc.Player ):
|
||||||
|
|
||||||
def onPlayBackSeek( self, time, seekOffset ):
|
def onPlayBackSeek( self, time, seekOffset ):
|
||||||
self.logMsg("PLAYBACK_SEEK",2)
|
self.logMsg("PLAYBACK_SEEK",2)
|
||||||
# Make position when seeking a bit more accurate
|
|
||||||
try:
|
|
||||||
playTime = xbmc.Player().getTime()
|
|
||||||
currentFile = xbmc.Player().getPlayingFile()
|
|
||||||
if(self.played_information.get(currentFile) != None):
|
|
||||||
self.played_information[currentFile]["currentPosition"] = playTime
|
|
||||||
self.reportPlayback()
|
self.reportPlayback()
|
||||||
except: pass
|
|
||||||
|
|
||||||
def onPlayBackStarted( self ):
|
def onPlayBackStarted( self ):
|
||||||
# Will be called when xbmc starts playing a file
|
# Will be called when xbmc starts playing a file
|
||||||
|
|
Loading…
Reference in a new issue