Some code cleanup. Allow NextUpDateCutoff to be null

This commit is contained in:
Jack
2021-04-16 13:57:22 -04:00
parent d7855500c2
commit 198cc6e76a
3 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ namespace MediaBrowser.Model.Querying
EnableImageTypes = Array.Empty<ImageType>();
EnableTotalRecordCount = true;
DisableFirstEpisode = false;
NextUpDateCutoff = new DateTime(0001, 01, 01);
NextUpDateCutoff = null;
}
/// <summary>
@@ -80,6 +80,6 @@ namespace MediaBrowser.Model.Querying
/// <summary>
/// Gets or sets a value indicating the oldest date for a show to appear in Next Up.
/// </summary>
public DateTime NextUpDateCutoff { get; set; }
public DateTime? NextUpDateCutoff { get; set; }
}
}