pull/4628/head
MrTimscampi 4 years ago
parent 21a67a66d2
commit 7ba9ba4780

@ -192,7 +192,7 @@ namespace Emby.Server.Implementations.TV
Func<Episode> getEpisode = () =>
{
var nextEpsiode = _libraryManager.GetItemList(new InternalItemsQuery(user)
var nextEpisode = _libraryManager.GetItemList(new InternalItemsQuery(user)
{
AncestorWithPresentationUniqueKey = null,
SeriesPresentationUniqueKey = seriesKey,
@ -206,14 +206,14 @@ namespace Emby.Server.Implementations.TV
DtoOptions = dtoOptions
}).Cast<Episode>().FirstOrDefault();
var userData = _userDataManager.GetUserData(user, nextEpsiode);
var userData = _userDataManager.GetUserData(user, nextEpisode);
if (userData.PlaybackPositionTicks > 0)
{
return null;
}
return nextEpsiode;
return nextEpisode;
};
if (lastWatchedEpisode != null)

Loading…
Cancel
Save