Fix Audiobook Resume

https://github.com/jellyfin/jellyfin/issues/5703
This commit is contained in:
artiume 2021-04-20 19:28:18 -04:00 committed by GitHub
parent 5a6e60b414
commit dcd96909cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,7 +251,7 @@ namespace Emby.Server.Implementations.Library
var minIn = TimeSpan.FromTicks(positionTicks).TotalMinutes;
var minOut = TimeSpan.FromTicks(runtimeTicks - positionTicks).TotalMinutes;
if (minIn > _config.Configuration.MinAudiobookResume)
if (minIn < _config.Configuration.MinAudiobookResume)
{
// ignore progress during the beginning
positionTicks = 0;