Add NextUpCutoffDate to NextUpQuery

This commit is contained in:
Jack
2021-04-15 14:44:21 -04:00
parent b63f615fd4
commit d7855500c2
3 changed files with 11 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ namespace Emby.Server.Implementations.TV
return i.Item1 != DateTime.MinValue;
}
if (alwaysEnableFirstEpisode || i.Item1 != DateTime.MinValue)
if (alwaysEnableFirstEpisode || (i.Item1 != DateTime.MinValue && i.Item1.Date > request.NextUpDateCutoff))
{
anyFound = true;
return true;