|
|
|
@ -367,6 +367,11 @@ public class RefreshChannelDataHandler : IRequestHandler<RefreshChannelData> |
|
|
|
TimeSpan groupDuration = groupFinish - groupStart; |
|
|
|
TimeSpan groupDuration = groupFinish - groupStart; |
|
|
|
|
|
|
|
|
|
|
|
var itemsToInclude = group.Filter(g => g.FillerKind is FillerKind.None).ToList(); |
|
|
|
var itemsToInclude = group.Filter(g => g.FillerKind is FillerKind.None).ToList(); |
|
|
|
|
|
|
|
if (itemsToInclude.Count == 0) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
TimeSpan perItem = groupDuration / itemsToInclude.Count; |
|
|
|
TimeSpan perItem = groupDuration / itemsToInclude.Count; |
|
|
|
|
|
|
|
|
|
|
|
DateTimeOffset currentStart = new DateTimeOffset(groupStart, TimeSpan.Zero).ToLocalTime(); |
|
|
|
DateTimeOffset currentStart = new DateTimeOffset(groupStart, TimeSpan.Zero).ToLocalTime(); |
|
|
|
|