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