1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

New: Will now temporarily stop using an indexer if the indexer reported an error.

This commit is contained in:
Taloth Saldono
2015-06-27 11:43:17 +02:00
parent 6d046a8df8
commit f2a70677e4
61 changed files with 994 additions and 173 deletions
+14 -14
View File
@@ -1,24 +1,24 @@
using System;
using System.Text;
using NzbDrone.Core.Indexers;
namespace NzbDrone.Core.Parser.Model
{
using System.Text;
public class ReleaseInfo
{
public String Guid { get; set; }
public String Title { get; set; }
public Int64 Size { get; set; }
public String DownloadUrl { get; set; }
public String InfoUrl { get; set; }
public String CommentUrl { get; set; }
public String Indexer { get; set; }
public string Guid { get; set; }
public string Title { get; set; }
public long Size { get; set; }
public string DownloadUrl { get; set; }
public string InfoUrl { get; set; }
public string CommentUrl { get; set; }
public int IndexerId { get; set; }
public string Indexer { get; set; }
public DownloadProtocol DownloadProtocol { get; set; }
public Int32 TvRageId { get; set; }
public int TvRageId { get; set; }
public DateTime PublishDate { get; set; }
public Int32 Age
public int Age
{
get
{
@@ -30,7 +30,7 @@ namespace NzbDrone.Core.Parser.Model
private set { }
}
public Double AgeHours
public double AgeHours
{
get
{
@@ -42,7 +42,7 @@ namespace NzbDrone.Core.Parser.Model
private set { }
}
public Double AgeMinutes
public double AgeMinutes
{
get
{
@@ -56,7 +56,7 @@ namespace NzbDrone.Core.Parser.Model
public override string ToString()
{
return String.Format("[{0}] {1} [{2}]", PublishDate, Title, Size);
return string.Format("[{0}] {1} [{2}]", PublishDate, Title, Size);
}
public virtual string ToString(string format)