Added RSS support for torrents

This commit is contained in:
Keivan Beigi
2013-09-13 16:17:58 -07:00
parent 89d603d71c
commit 82b06bab7a
59 changed files with 577 additions and 268 deletions
+27
View File
@@ -0,0 +1,27 @@
using System;
namespace NzbDrone.Core.Parser.Model
{
public class ReleaseInfo
{
public string Title { get; set; }
public long Size { get; set; }
public string DownloadUrl { get; set; }
public string InfoUrl { get; set; }
public string CommentUrl { get; set; }
public String Indexer { get; set; }
public DateTime PublishDate { get; set; }
public int Age
{
get
{
return DateTime.UtcNow.Subtract(PublishDate).Days;
}
}
public string ReleaseGroup { get; set; }
public int TvRageId { get; set; }
}
}