Update Emby.Server.Implementations/TV/TVSeriesManager.cs

This commit is contained in:
Claus Vium 2020-12-01 22:31:55 +01:00 committed by GitHub
parent 371092cf62
commit 673d2c0d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,8 @@ namespace Emby.Server.Implementations.TV
DtoOptions = dtoOptions DtoOptions = dtoOptions
}).Cast<Episode>().FirstOrDefault(); }).Cast<Episode>().FirstOrDefault();
if (!(nextEpisode is null)) { if (nextEpisode != null)
{
var userData = _userDataManager.GetUserData(user, nextEpisode); var userData = _userDataManager.GetUserData(user, nextEpisode);
if (userData.PlaybackPositionTicks > 0) if (userData.PlaybackPositionTicks > 0)