From c409fd8b477f22088566c6ee4c4d54baa2ff6850 Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Sun, 14 Jan 2024 19:40:29 -0600 Subject: [PATCH] fix playout build hang for block playouts (#1555) --- ErsatzTV.Core/Scheduling/BlockScheduling/EffectiveBlock.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ErsatzTV.Core/Scheduling/BlockScheduling/EffectiveBlock.cs b/ErsatzTV.Core/Scheduling/BlockScheduling/EffectiveBlock.cs index c0e6baf45..8b20d2fd2 100644 --- a/ErsatzTV.Core/Scheduling/BlockScheduling/EffectiveBlock.cs +++ b/ErsatzTV.Core/Scheduling/BlockScheduling/EffectiveBlock.cs @@ -38,9 +38,9 @@ internal record EffectiveBlock(Block Block, BlockKey BlockKey, DateTimeOffset St effectiveBlocks.Add(effectiveBlock); } - - current = current.AddDays(1); } + + current = current.AddDays(1); } effectiveBlocks.RemoveAll(b => b.Start.AddMinutes(b.Block.Minutes) < start || b.Start > finish);