Update Emby.Server.Implementations/Library/UserDataManager.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
artiume 2020-12-30 09:30:02 -05:00 committed by GitHub
parent c7cb177260
commit f411353c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,7 +246,7 @@ namespace Emby.Server.Implementations.Library
}
}
}
else if (positionTicks > 0 && hasRuntime && (item is AudioBook))
else if (positionTicks > 0 && hasRuntime && item is AudioBook)
{
var minIn = TimeSpan.FromTicks(positionTicks).TotalMinutes;
var minOut = TimeSpan.FromTicks(runtimeTicks - positionTicks).TotalMinutes;