mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Fixed episode status of recently imported episodes.
This commit is contained in:
parent
8d12630856
commit
8927a938b7
3 changed files with 7 additions and 6 deletions
|
@ -37,14 +37,14 @@ namespace NzbDrone.Core.Repository
|
|||
{
|
||||
get
|
||||
{
|
||||
|
||||
if (EpisodeFileId != 0) return EpisodeStatusType.Ready;
|
||||
|
||||
if (GrabDate != null && GrabDate.Value.AddDays(1) >= DateTime.Now)
|
||||
{
|
||||
return EpisodeStatusType.Downloading;
|
||||
}
|
||||
|
||||
if (EpisodeFileId != 0) return EpisodeStatusType.Ready;
|
||||
|
||||
|
||||
|
||||
if (Ignored) return EpisodeStatusType.Ignored;
|
||||
|
||||
if (AirDate != null && AirDate.Value.Date < DateTime.Now)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue