Use float instead of int for resume
This commit is contained in:
parent
60bfff16dd
commit
ecc67b5707
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ class API(object):
|
||||||
resume = float(self.item.attrib['viewOffset'])
|
resume = float(self.item.attrib['viewOffset'])
|
||||||
except (KeyError, ValueError):
|
except (KeyError, ValueError):
|
||||||
resume = 0.0
|
resume = 0.0
|
||||||
return int(resume * v.PLEX_TO_KODI_TIMEFACTOR)
|
return resume * v.PLEX_TO_KODI_TIMEFACTOR
|
||||||
|
|
||||||
def resume_runtime(self):
|
def resume_runtime(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue