|
|
|
@ -417,7 +417,6 @@ public abstract class PlayoutModeSchedulerBase<T> : IPlayoutModeScheduler<T> whe |
|
|
|
TimeSpan.FromMinutes(currentMinute) + |
|
|
|
TimeSpan.FromMinutes(currentMinute) + |
|
|
|
TimeSpan.FromMinutes(targetMinute); |
|
|
|
TimeSpan.FromMinutes(targetMinute); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var targetTime = new DateTimeOffset( |
|
|
|
var targetTime = new DateTimeOffset( |
|
|
|
almostTargetTime.Year, |
|
|
|
almostTargetTime.Year, |
|
|
|
almostTargetTime.Month, |
|
|
|
almostTargetTime.Month, |
|
|
|
@ -427,6 +426,10 @@ public abstract class PlayoutModeSchedulerBase<T> : IPlayoutModeScheduler<T> whe |
|
|
|
0, |
|
|
|
0, |
|
|
|
almostTargetTime.Offset); |
|
|
|
almostTargetTime.Offset); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ensure filler works for content less than one minute
|
|
|
|
|
|
|
|
if (targetTime <= playoutItem.StartOffset + totalDuration) |
|
|
|
|
|
|
|
targetTime = targetTime.AddMinutes(padFiller.PadToNearestMinute.Value); |
|
|
|
|
|
|
|
|
|
|
|
TimeSpan remainingToFill = targetTime - totalDuration - playoutItem.StartOffset; |
|
|
|
TimeSpan remainingToFill = targetTime - totalDuration - playoutItem.StartOffset; |
|
|
|
|
|
|
|
|
|
|
|
// Logger.LogInformation(
|
|
|
|
// Logger.LogInformation(
|
|
|
|
|