mirror of https://github.com/Radarr/Radarr
Manual search shouldn't die on mono
This commit is contained in:
parent
c5a62bfdf1
commit
70af42e69c
|
@ -32,6 +32,10 @@ namespace NzbDrone.Core.Parser.Model
|
|||
{
|
||||
return !String.IsNullOrWhiteSpace(AirDate);
|
||||
}
|
||||
|
||||
//This prevents manually downloading a release from blowing up in mono
|
||||
//TODO: Is there a better way?
|
||||
private set { }
|
||||
}
|
||||
|
||||
public bool IsAbsoluteNumbering
|
||||
|
@ -40,6 +44,10 @@ namespace NzbDrone.Core.Parser.Model
|
|||
{
|
||||
return AbsoluteEpisodeNumbers.Any();
|
||||
}
|
||||
|
||||
//This prevents manually downloading a release from blowing up in mono
|
||||
//TODO: Is there a better way?
|
||||
private set { }
|
||||
}
|
||||
|
||||
public bool IsPossibleSpecialEpisode
|
||||
|
@ -52,6 +60,10 @@ namespace NzbDrone.Core.Parser.Model
|
|||
(EpisodeNumbers.Length == 0 || SeasonNumber == 0) ||
|
||||
!SeriesTitle.IsNullOrWhiteSpace() && Special);
|
||||
}
|
||||
|
||||
//This prevents manually downloading a release from blowing up in mono
|
||||
//TODO: Is there a better way?
|
||||
private set {}
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace NzbDrone.Core.Parser.Model
|
|||
public string CommentUrl { get; set; }
|
||||
public String Indexer { get; set; }
|
||||
public DownloadProtocol DownloadProtocol { get; set; }
|
||||
|
||||
public int TvRageId { get; set; }
|
||||
public DateTime PublishDate { get; set; }
|
||||
|
||||
public Int32 Age
|
||||
|
@ -24,10 +24,7 @@ namespace NzbDrone.Core.Parser.Model
|
|||
|
||||
//This prevents manually downloading a release from blowing up in mono
|
||||
//TODO: Is there a better way?
|
||||
private set
|
||||
{
|
||||
|
||||
}
|
||||
private set { }
|
||||
}
|
||||
|
||||
public Double AgeHours
|
||||
|
@ -39,14 +36,9 @@ namespace NzbDrone.Core.Parser.Model
|
|||
|
||||
//This prevents manually downloading a release from blowing up in mono
|
||||
//TODO: Is there a better way?
|
||||
private set
|
||||
{
|
||||
|
||||
}
|
||||
private set { }
|
||||
}
|
||||
|
||||
public int TvRageId { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return String.Format("[{0}] {1} [{2}]", PublishDate, Title, Size);
|
||||
|
|
Loading…
Reference in New Issue