Fix PKC telling wrong timing
This commit is contained in:
parent
5be7d835f8
commit
fca249c292
1 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ class Player(xbmc.Player):
|
||||||
'SubtitleStreamIndex': postdata['SubtitleStreamIndex'],
|
'SubtitleStreamIndex': postdata['SubtitleStreamIndex'],
|
||||||
'playmethod': playMethod,
|
'playmethod': playMethod,
|
||||||
'Type': itemType,
|
'Type': itemType,
|
||||||
'currentPosition': int(seekTime) * 1000,
|
'currentPosition': int(seekTime),
|
||||||
'fileid': fileid,
|
'fileid': fileid,
|
||||||
'itemType': itemType,
|
'itemType': itemType,
|
||||||
'playcount': playcount
|
'playcount': playcount
|
||||||
|
@ -306,7 +306,7 @@ class Player(xbmc.Player):
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
# When Kodi is not playing
|
# When Kodi is not playing
|
||||||
return
|
return
|
||||||
self.played_info[currentFile]['currentPosition'] = position * 1000
|
self.played_info[currentFile]['currentPosition'] = position
|
||||||
|
|
||||||
def onPlayBackStopped(self):
|
def onPlayBackStopped(self):
|
||||||
# Will be called when user stops xbmc playing a file
|
# Will be called when user stops xbmc playing a file
|
||||||
|
|
Loading…
Reference in a new issue