add duration discard to fill attempts (#1301)

This commit is contained in:
Jason Dove
2023-06-13 17:02:31 -05:00
committed by GitHub
parent 66607b95bb
commit 5da2bdbab4
28 changed files with 4631 additions and 67 deletions
@@ -13,6 +13,7 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
{
private ProgramScheduleItemCollectionType _collectionType;
private int? _multipleCount;
private int? _discardToFillAttempts;
private TimeSpan? _playoutDuration;
private TimeSpan? _startTime;
@@ -96,7 +97,12 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
}
public TailMode TailMode { get; set; }
public int? DiscardToFillAttempts
{
get => PlayoutMode == PlayoutMode.Duration ? _discardToFillAttempts ?? 0 : null;
set => _discardToFillAttempts = value;
}
public string CustomTitle { get; set; }
public GuideMode GuideMode { get; set; }