mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-23 22:25:14 -04:00
Release scoring
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user