1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

Release scoring

This commit is contained in:
Mark McDowall
2016-04-08 13:23:09 -07:00
parent dc694b0f34
commit 8a6d1ef373
5 changed files with 319 additions and 32 deletions
@@ -18,9 +18,22 @@ namespace NzbDrone.Core.Parser.Model
{
return null;
}
return torrentInfo.Seeders;
}
public static int? GetPeers(ReleaseInfo release)
{
var torrentInfo = release as TorrentInfo;
if (torrentInfo == null)
{
return null;
}
return torrentInfo.Peers;
}
public override string ToString(string format)
{
var stringBuilder = new StringBuilder(base.ToString(format));