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
1 changed files with 2 additions and 1 deletions

View File

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