diff options
| author | theguymadmax <theguymadmax@proton.me> | 2025-09-11 17:24:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-11 15:24:23 -0600 |
| commit | 986a509955332e366e6fa53fb4b5b4f96f666e27 (patch) | |
| tree | e1f60b64b43439a0ee59132c9f0db4c1113da853 /Emby.Server.Implementations | |
| parent | da19f02f7b48c68cfcdec2c491a943500c14cd00 (diff) | |
Add 1-second tolerance to resume playback completion check (#14774)
Diffstat (limited to 'Emby.Server.Implementations')
| -rw-r--r-- | Emby.Server.Implementations/Library/UserDataManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/UserDataManager.cs b/Emby.Server.Implementations/Library/UserDataManager.cs index be1d96bf0..b46206418 100644 --- a/Emby.Server.Implementations/Library/UserDataManager.cs +++ b/Emby.Server.Implementations/Library/UserDataManager.cs @@ -304,7 +304,7 @@ namespace Emby.Server.Implementations.Library // ignore progress during the beginning positionTicks = 0; } - else if (pctIn > _config.Configuration.MaxResumePct || positionTicks >= runtimeTicks) + else if (pctIn > _config.Configuration.MaxResumePct || positionTicks >= (runtimeTicks - TimeSpan.TicksPerSecond)) { // mark as completed close to the end positionTicks = 0; |
