mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-11-09 09:56:34 +00:00
Merge pull request #1051 from bossanova808/fix-resumes
Remove setting of `StartPercent`
This commit is contained in:
commit
cdf03824d2
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