New: Episodes that air today will not be shown in the UI as missing.

pull/3113/head
Mark McDowall 13 years ago
parent 3a3ba146d6
commit 1c22ec91d6

@ -13,11 +13,17 @@
Ignored, Ignored,
/// <summary> /// <summary>
/// Episode has aired but no episode /// Episode has aired, but no episode
/// files have avilable /// files are avilable
/// </summary> /// </summary>
Missing, Missing,
/// <summary>
/// Episode airs today, but no episode
/// files are avilable
/// </summary>
AirsToday,
/// <summary> /// <summary>
/// Episode is being downloaded /// Episode is being downloaded
/// </summary> /// </summary>

@ -56,6 +56,9 @@ namespace NzbDrone.Core.Repository
if (GrabDate != null && GrabDate.Value.AddDays(1) >= DateTime.Now) if (GrabDate != null && GrabDate.Value.AddDays(1) >= DateTime.Now)
return EpisodeStatusType.Downloading; return EpisodeStatusType.Downloading;
if (AirDate != null && AirDate.Value.Date == DateTime.Today)
return EpisodeStatusType.AirsToday;
if (AirDate != null && AirDate.Value.Date < DateTime.Now) if (AirDate != null && AirDate.Value.Date < DateTime.Now)
return EpisodeStatusType.Missing; return EpisodeStatusType.Missing;

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Loading…
Cancel
Save