mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-10-13 12:22:04 +00:00
Remove setting of StartPercent
given an accurate resumetime
is available
This commit is contained in:
parent
2f7cf9b24d
commit
8319a4b82c
1 changed files with 0 additions and 3 deletions
|
@ -508,9 +508,6 @@ class Actions(object):
|
|||
|
||||
if obj["Resume"] and item.get("resumePlayback"):
|
||||
listitem.setProperty("resumetime", str(obj["Resume"]))
|
||||
listitem.setProperty(
|
||||
"StartPercent", str(((obj["Resume"] / obj["Runtime"]) * 100) - 0.40)
|
||||
)
|
||||
else:
|
||||
listitem.setProperty("resumetime", "0")
|
||||
listitem.setProperty("StartPercent", "0")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue