mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
Manual search shouldn't die on mono
This commit is contained in:
parent
c5a62bfdf1
commit
70af42e69c
@ -32,6 +32,10 @@ public bool IsDaily
|
||||
{
|
||||
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 @@ public bool IsAbsoluteNumbering
|
||||
{
|
||||
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 @@ public bool IsPossibleSpecialEpisode
|
||||
(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 @@ public class ReleaseInfo
|
||||
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 @@ public Int32 Age
|
||||
|
||||
//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 @@ public Double AgeHours
|
||||
|
||||
//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
Block a user