New: Implemented Torrent Download Clients: uTorrent, Transmission and Deluge. And several public and private Torrent Indexers.

This commit is contained in:
MythJuha
2014-05-13 19:57:46 +02:00
committed by Taloth Saldono
parent ffa814f387
commit 67cd5703a1
134 changed files with 11018 additions and 99 deletions
@@ -1,8 +1,26 @@
using System;
namespace NzbDrone.Core.Parser.Model
{
public class TorrentInfo : ReleaseInfo
{
public string MagnetUrl { get; set; }
public string InfoHash { get; set; }
public Int32? Seeds { get; set; }
public Int32? Peers { get; set; }
public static Int32? GetSeeders(ReleaseInfo release)
{
var torrentInfo = release as TorrentInfo;
if (torrentInfo == null)
{
return null;
}
else
{
return torrentInfo.Seeds;
}
}
}
}