mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
New: Episodes that air today will not be shown in the UI as missing.
This commit is contained in:
parent
3a3ba146d6
commit
1c22ec91d6
@ -13,10 +13,16 @@ public enum EpisodeStatusType
|
||||
Ignored,
|
||||
|
||||
/// <summary>
|
||||
/// Episode has aired but no episode
|
||||
/// files have avilable
|
||||
/// Episode has aired, but no episode
|
||||
/// files are avilable
|
||||
/// </summary>
|
||||
Missing,
|
||||
|
||||
/// <summary>
|
||||
/// Episode airs today, but no episode
|
||||
/// files are avilable
|
||||
/// </summary>
|
||||
AirsToday,
|
||||
|
||||
/// <summary>
|
||||
/// Episode is being downloaded
|
||||
|
@ -56,6 +56,9 @@ public EpisodeStatusType Status
|
||||
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;
|
||||
|
||||
|
BIN
NzbDrone.Web/Content/Images/AirsToday.png
Normal file
BIN
NzbDrone.Web/Content/Images/AirsToday.png
Normal file
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…
Reference in New Issue
Block a user