aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/TV
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2020-12-01 22:31:55 +0100
committerGitHub <noreply@github.com>2020-12-01 22:31:55 +0100
commit673d2c0d261bffae1769c3a357cd5f01912afc80 (patch)
treecf7dde331bbc9f3029c2d1ced7a83b664628baaf /Emby.Server.Implementations/TV
parent371092cf62f423fe62eb72f6c3d450966dc49b7d (diff)
Update Emby.Server.Implementations/TV/TVSeriesManager.cs
Diffstat (limited to 'Emby.Server.Implementations/TV')
-rw-r--r--Emby.Server.Implementations/TV/TVSeriesManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/TV/TVSeriesManager.cs b/Emby.Server.Implementations/TV/TVSeriesManager.cs
index 4dff8e252..3cfcecbd1 100644
--- a/Emby.Server.Implementations/TV/TVSeriesManager.cs
+++ b/Emby.Server.Implementations/TV/TVSeriesManager.cs
@@ -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)