make count an expression in classic schedules (#2794)

* make count an expression in classic schedules

* add tests
This commit is contained in:
Jason Dove
2026-01-20 09:50:45 -06:00
committed by GitHub
parent 3d81f760ee
commit 08ceb53b2b
33 changed files with 14167 additions and 74 deletions
@@ -16,7 +16,7 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
private CollectionType _collectionType;
private int? _discardToFillAttempts;
private FixedStartTimeBehavior? _fixedStartTimeBehavior;
private int? _multipleCount;
private string _multipleCount;
private PlaybackOrder _playbackOrder;
private TimeSpan? _playoutDuration;
private int _playoutDurationHours;
@@ -171,7 +171,7 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
public MultipleMode MultipleMode { get; set; }
public int? MultipleCount
public string MultipleCount
{
get => PlayoutMode == PlayoutMode.Multiple ? _multipleCount : null;
set => _multipleCount = value;