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

This commit is contained in:
Mark McDowall 2012-03-03 12:11:26 -08:00
parent 3a3ba146d6
commit 1c22ec91d6
4 changed files with 11 additions and 2 deletions

View file

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