Newznab providers can be configured by the end user.

This commit is contained in:
Mark McDowall 2011-11-13 12:51:15 -08:00
commit 6c86f1dfdd
13 changed files with 503 additions and 18 deletions

View file

@ -0,0 +1,20 @@
using System;
using PetaPoco;
namespace NzbDrone.Core.Repository
{
[TableName("NewznabDefinitions")]
[PrimaryKey("Id", autoIncrement = true)]
public class NewznabDefinition
{
public int Id { get; set; }
public Boolean Enable { get; set; }
public String Name { get; set; }
public String Url { get; set; }
public String ApiKey { get; set; }
}
}