code analysis and cleanup (#1411)

* cleanup scanner project

* cleanup infrastructure projects

* cleanup ffmpeg project

* cleanup core project

* cleanup app project

* cleanup main project

* update dependencies

* code cleanup
This commit is contained in:
Jason Dove
2023-09-03 06:23:42 -05:00
committed by GitHub
parent 6414471ace
commit 245c4ec359
308 changed files with 1438 additions and 1032 deletions
@@ -15,9 +15,9 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
private int? _discardToFillAttempts;
private int? _multipleCount;
private TimeSpan? _playoutDuration;
private TimeSpan? _startTime;
private int _playoutDurationHours;
private int _playoutDurationMinutes;
private TimeSpan? _startTime;
public int Id { get; set; }
public int Index { get; set; }
@@ -145,7 +145,7 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
private void CheckPlayoutDuration()
{
_playoutDuration ??= TimeSpan.Zero;
if (_playoutDuration > TimeSpan.FromHours(24))
{
_playoutDuration = TimeSpan.FromHours(24);
@@ -158,7 +158,7 @@ public class ProgramScheduleItemEditViewModel : INotifyPropertyChanged
_playoutDurationHours = (int)_playoutDuration.Value.TotalHours;
_playoutDurationMinutes = _playoutDuration.Value.Minutes;
OnPropertyChanged(nameof(PlayoutDuration));
OnPropertyChanged(nameof(PlayoutDurationHours));
OnPropertyChanged(nameof(PlayoutDurationMinutes));