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