Added the api and settings page for Sickrage. Just need to do the tester and hook it up #40

This commit is contained in:
tidusjar 2016-03-19 12:25:44 +00:00
commit 803b12da0f
12 changed files with 399 additions and 5 deletions

View file

@ -24,13 +24,30 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using System;
using Newtonsoft.Json;
using PlexRequests.Helpers;
namespace PlexRequests.Core.SettingModels
{
public class SickRageSettings : Settings
{
public bool Enabled { get; set; }
public string Ip { get; set; }
public int Port { get; set; }
public string ApiKey { get; set; }
public bool Enabled { get; set; }
public string QualityProfile { get; set; }
public bool Ssl { get; set; }
[JsonIgnore]
public Uri FullUri
{
get
{
var formatted = Ip.ReturnUri(Port, Ssl);
return formatted;
}
}
}
}