mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
Blacklisting improvements
New: New releases that fail will be retried a second time after waiting 1hr (configurable) Fixed: Blacklisting releases with the same date and vastly different ages
This commit is contained in:
@@ -13,7 +13,7 @@ namespace NzbDrone.Core.Parser.Model
|
||||
|
||||
public DateTime PublishDate { get; set; }
|
||||
|
||||
public int Age
|
||||
public Int32 Age
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -28,6 +28,21 @@ namespace NzbDrone.Core.Parser.Model
|
||||
}
|
||||
}
|
||||
|
||||
public Double AgeHours
|
||||
{
|
||||
get
|
||||
{
|
||||
return DateTime.UtcNow.Subtract(PublishDate).TotalHours;
|
||||
}
|
||||
|
||||
//This prevents manually downloading a release from blowing up in mono
|
||||
//TODO: Is there a better way?
|
||||
private set
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public int TvRageId { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
|
||||
Reference in New Issue
Block a user