Merge pull request #5828 from jackrvan/issue-5813

Add NextUpCutoffDate to NextUpQuery
This commit is contained in:
Claus Vium
2021-05-27 07:22:06 +02:00
committed by GitHub
3 changed files with 11 additions and 2 deletions

View File

@@ -154,7 +154,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;