mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Notifications wired up server sided
This commit is contained in:
parent
3f44339381
commit
e9bf78a97d
57 changed files with 977 additions and 951 deletions
|
@ -126,94 +126,12 @@ namespace NzbDrone.Core.Configuration
|
|||
set { SetValue("DefaultQualityProfile", value); }
|
||||
}
|
||||
|
||||
public Boolean XbmcUpdateLibrary
|
||||
{
|
||||
get { return GetValueBoolean("XbmcUpdateLibrary"); }
|
||||
|
||||
set { SetValue("XbmcUpdateLibrary", value); }
|
||||
}
|
||||
|
||||
public Boolean XbmcCleanLibrary
|
||||
{
|
||||
get { return GetValueBoolean("XbmcCleanLibrary"); }
|
||||
|
||||
set { SetValue("XbmcCleanLibrary", value); }
|
||||
}
|
||||
|
||||
public Boolean XbmcUpdateWhenPlaying
|
||||
{
|
||||
get { return GetValueBoolean("XbmcUpdateWhenPlaying"); }
|
||||
|
||||
set { SetValue("XbmcUpdateWhenPlaying", value); }
|
||||
}
|
||||
|
||||
public string XbmcHosts
|
||||
{
|
||||
get { return GetValue("XbmcHosts", "localhost:8080"); }
|
||||
set { SetValue("XbmcHosts", value); }
|
||||
}
|
||||
|
||||
public string XbmcUsername
|
||||
{
|
||||
get { return GetValue("XbmcUsername", "xbmc"); }
|
||||
set { SetValue("XbmcUsername", value); }
|
||||
}
|
||||
|
||||
public string XbmcPassword
|
||||
{
|
||||
get { return GetValue("XbmcPassword", String.Empty); }
|
||||
set { SetValue("XbmcPassword", value); }
|
||||
}
|
||||
|
||||
public string UpdateUrl
|
||||
{
|
||||
get { return GetValue("UpdateUrl", "http://update.nzbdrone.com/vnext/"); }
|
||||
set { SetValue("UpdateUrl", value); }
|
||||
}
|
||||
|
||||
public string SmtpServer
|
||||
{
|
||||
get { return GetValue("SmtpServer", String.Empty); }
|
||||
set { SetValue("SmtpServer", value); }
|
||||
}
|
||||
|
||||
public int SmtpPort
|
||||
{
|
||||
get { return GetValueInt("SmtpPort", 25); }
|
||||
set { SetValue("SmtpPort", value); }
|
||||
}
|
||||
|
||||
public Boolean SmtpUseSsl
|
||||
{
|
||||
get { return GetValueBoolean("SmtpUseSsl"); }
|
||||
|
||||
set { SetValue("SmtpUseSsl", value); }
|
||||
}
|
||||
|
||||
public string SmtpUsername
|
||||
{
|
||||
get { return GetValue("SmtpUsername", String.Empty); }
|
||||
set { SetValue("SmtpUsername", value); }
|
||||
}
|
||||
|
||||
public string SmtpPassword
|
||||
{
|
||||
get { return GetValue("SmtpPassword", String.Empty); }
|
||||
set { SetValue("SmtpPassword", value); }
|
||||
}
|
||||
|
||||
public string SmtpFromAddress
|
||||
{
|
||||
get { return GetValue("SmtpFromAddress", String.Empty); }
|
||||
set { SetValue("SmtpFromAddress", value); }
|
||||
}
|
||||
|
||||
public string SmtpToAddresses
|
||||
{
|
||||
get { return GetValue("SmtpToAddresses", String.Empty); }
|
||||
set { SetValue("SmtpToAddresses", value); }
|
||||
}
|
||||
|
||||
public string TwitterAccessToken
|
||||
{
|
||||
get { return GetValue("TwitterAccessToken", String.Empty); }
|
||||
|
@ -226,30 +144,6 @@ namespace NzbDrone.Core.Configuration
|
|||
set { SetValue("TwitterAccessTokenSecret", value); }
|
||||
}
|
||||
|
||||
public string GrowlHost
|
||||
{
|
||||
get { return GetValue("GrowlHost", "localhost:23053"); }
|
||||
set { SetValue("GrowlHost", value); }
|
||||
}
|
||||
|
||||
public string GrowlPassword
|
||||
{
|
||||
get { return GetValue("GrowlPassword", String.Empty); }
|
||||
set { SetValue("GrowlPassword", value); }
|
||||
}
|
||||
|
||||
public string ProwlApiKeys
|
||||
{
|
||||
get { return GetValue("ProwlApiKeys", String.Empty); }
|
||||
set { SetValue("ProwlApiKeys", value); }
|
||||
}
|
||||
|
||||
public int ProwlPriority
|
||||
{
|
||||
get { return GetValueInt("ProwlPriority", 0); }
|
||||
set { SetValue("ProwlPriority", value); }
|
||||
}
|
||||
|
||||
public bool EnableBacklogSearching
|
||||
{
|
||||
get { return GetValueBoolean("EnableBacklogSearching"); }
|
||||
|
@ -291,37 +185,6 @@ namespace NzbDrone.Core.Configuration
|
|||
get { return "http://services.nzbdrone.com"; }
|
||||
}
|
||||
|
||||
public Boolean PlexUpdateLibrary
|
||||
{
|
||||
get { return GetValueBoolean("PlexUpdateLibrary"); }
|
||||
|
||||
set { SetValue("PlexUpdateLibrary", value); }
|
||||
}
|
||||
|
||||
public string PlexServerHost
|
||||
{
|
||||
get { return GetValue("PlexServerHost", "localhost:32400"); }
|
||||
set { SetValue("PlexServerHost", value); }
|
||||
}
|
||||
|
||||
public string PlexClientHosts
|
||||
{
|
||||
get { return GetValue("PlexClientHosts", "localhost:3000"); }
|
||||
set { SetValue("PlexClientHosts", value); }
|
||||
}
|
||||
|
||||
public string PlexUsername
|
||||
{
|
||||
get { return GetValue("PlexUsername"); }
|
||||
set { SetValue("PlexUsername", value); }
|
||||
}
|
||||
|
||||
public string PlexPassword
|
||||
{
|
||||
get { return GetValue("PlexPassword"); }
|
||||
set { SetValue("PlexPassword", value); }
|
||||
}
|
||||
|
||||
public Boolean MetadataUseBanners
|
||||
{
|
||||
get { return GetValueBoolean("MetadataUseBanners"); }
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Download;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Download.Clients.Nzbget;
|
||||
using NzbDrone.Core.Download.Clients.Sabnzbd;
|
||||
|
||||
|
@ -11,6 +10,7 @@ namespace NzbDrone.Core.Configuration
|
|||
{
|
||||
IEnumerable<Config> All();
|
||||
Dictionary<String, Object> AllWithDefaults();
|
||||
string UpdateUrl { get; set; }
|
||||
String SabHost { get; set; }
|
||||
int SabPort { get; set; }
|
||||
String SabApiKey { get; set; }
|
||||
|
@ -23,26 +23,8 @@ namespace NzbDrone.Core.Configuration
|
|||
bool UseSeasonFolder { get; set; }
|
||||
string SortingSeasonFolderFormat { get; set; }
|
||||
int DefaultQualityProfile { get; set; }
|
||||
Boolean XbmcUpdateLibrary { get; set; }
|
||||
Boolean XbmcCleanLibrary { get; set; }
|
||||
Boolean XbmcUpdateWhenPlaying { get; set; }
|
||||
string XbmcHosts { get; set; }
|
||||
string XbmcUsername { get; set; }
|
||||
string XbmcPassword { get; set; }
|
||||
string UpdateUrl { get; set; }
|
||||
string SmtpServer { get; set; }
|
||||
int SmtpPort { get; set; }
|
||||
Boolean SmtpUseSsl { get; set; }
|
||||
string SmtpUsername { get; set; }
|
||||
string SmtpPassword { get; set; }
|
||||
string SmtpFromAddress { get; set; }
|
||||
string SmtpToAddresses { get; set; }
|
||||
string TwitterAccessToken { get; set; }
|
||||
string TwitterAccessTokenSecret { get; set; }
|
||||
string GrowlHost { get; set; }
|
||||
string GrowlPassword { get; set; }
|
||||
string ProwlApiKeys { get; set; }
|
||||
int ProwlPriority { get; set; }
|
||||
bool EnableBacklogSearching { get; set; }
|
||||
bool AutoIgnorePreviouslyDownloadedEpisodes { get; set; }
|
||||
int Retention { get; set; }
|
||||
|
@ -50,11 +32,6 @@ namespace NzbDrone.Core.Configuration
|
|||
DownloadClientType DownloadClient { get; set; }
|
||||
string BlackholeDirectory { get; set; }
|
||||
string ServiceRootUrl { get; }
|
||||
Boolean PlexUpdateLibrary { get; set; }
|
||||
string PlexServerHost { get; set; }
|
||||
string PlexClientHosts { get; set; }
|
||||
string PlexUsername { get; set; }
|
||||
string PlexPassword { get; set; }
|
||||
Boolean MetadataUseBanners { get; set; }
|
||||
string PneumaticDirectory { get; set; }
|
||||
string RecycleBin { get; set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue