1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 01:37:07 +00:00

removed notification toggle settings from configservice.

This commit is contained in:
kay.one 2013-02-24 15:51:42 -08:00
parent 5fc25b6095
commit 63a673f8f2
3 changed files with 2 additions and 95 deletions

View file

@ -202,19 +202,6 @@ namespace NzbDrone.Core.Configuration
set { SetValue("DefaultQualityProfile", value); }
}
public virtual Boolean XbmcNotifyOnGrab
{
get { return GetValueBoolean("XbmcNotifyOnGrab"); }
set { SetValue("XbmcNotifyOnGrab", value); }
}
public virtual Boolean XbmcNotifyOnDownload
{
get { return GetValueBoolean("XbmcNotifyOnDownload"); }
set { SetValue("XbmcNotifyOnDownload", value); }
}
public virtual Boolean XbmcUpdateLibrary
{
@ -261,19 +248,6 @@ namespace NzbDrone.Core.Configuration
set { SetValue("UpdateUrl", value); }
}
public virtual Boolean SmtpNotifyOnGrab
{
get { return GetValueBoolean("SmtpNotifyOnGrab"); }
set { SetValue("SmtpNotifyOnGrab", value); }
}
public virtual Boolean SmtpNotifyOnDownload
{
get { return GetValueBoolean("SmtpNotifyOnDownload"); }
set { SetValue("SmtpNotifyOnDownload", value); }
}
public virtual string SmtpServer
{
@ -318,19 +292,6 @@ namespace NzbDrone.Core.Configuration
set { SetValue("SmtpToAddresses", value); }
}
public virtual Boolean TwitterNotifyOnGrab
{
get { return GetValueBoolean("TwitterNotifyOnGrab"); }
set { SetValue("TwitterNotifyOnGrab", value); }
}
public virtual Boolean TwitterNotifyOnDownload
{
get { return GetValueBoolean("TwitterNotifyOnDownload"); }
set { SetValue("TwitterNotifyOnDownload", value); }
}
public virtual string TwitterAccessToken
{
@ -344,20 +305,7 @@ namespace NzbDrone.Core.Configuration
set { SetValue("TwitterAccessTokenSecret", value); }
}
public virtual Boolean GrowlNotifyOnGrab
{
get { return GetValueBoolean("GrowlNotifyOnGrab"); }
set { SetValue("GrowlNotifyOnGrab", value); }
}
public virtual Boolean GrowlNotifyOnDownload
{
get { return GetValueBoolean("GrowlNotifyOnDownload"); }
set { SetValue("GrowlNotifyOnDownload", value); }
}
public virtual string GrowlHost
{
get { return GetValue("GrowlHost", "localhost:23053"); }
@ -370,20 +318,7 @@ namespace NzbDrone.Core.Configuration
set { SetValue("GrowlPassword", value); }
}
public virtual Boolean ProwlNotifyOnGrab
{
get { return GetValueBoolean("ProwlNotifyOnGrab"); }
set { SetValue("ProwlNotifyOnGrab", value); }
}
public virtual Boolean ProwlNotifyOnDownload
{
get { return GetValueBoolean("ProwlNotifyOnDownload"); }
set { SetValue("ProwlNotifyOnDownload", value); }
}
public virtual string ProwlApiKeys
{
get { return GetValue("ProwlApiKeys", String.Empty); }
@ -437,20 +372,6 @@ namespace NzbDrone.Core.Configuration
get { return "http://services.nzbdrone.com"; }
}
public virtual Boolean PlexNotifyOnGrab
{
get { return GetValueBoolean("PlexNotifyOnGrab"); }
set { SetValue("PlexNotifyOnGrab", value); }
}
public virtual Boolean PlexNotifyOnDownload
{
get { return GetValueBoolean("PlexNotifyOnDownload"); }
set { SetValue("PlexNotifyOnDownload", value); }
}
public virtual Boolean PlexUpdateLibrary
{
get { return GetValueBoolean("PlexUpdateLibrary"); }

View file

@ -35,8 +35,6 @@ namespace NzbDrone.Core.Configuration
int SortingMultiEpisodeStyle { get; set; }
bool SortingUseSceneName { get; set; }
int DefaultQualityProfile { get; set; }
Boolean XbmcNotifyOnGrab { get; set; }
Boolean XbmcNotifyOnDownload { get; set; }
Boolean XbmcUpdateLibrary { get; set; }
Boolean XbmcCleanLibrary { get; set; }
Boolean XbmcUpdateWhenPlaying { get; set; }
@ -44,8 +42,6 @@ namespace NzbDrone.Core.Configuration
string XbmcUsername { get; set; }
string XbmcPassword { get; set; }
string UpdateUrl { get; set; }
Boolean SmtpNotifyOnGrab { get; set; }
Boolean SmtpNotifyOnDownload { get; set; }
string SmtpServer { get; set; }
int SmtpPort { get; set; }
Boolean SmtpUseSsl { get; set; }
@ -53,16 +49,10 @@ namespace NzbDrone.Core.Configuration
string SmtpPassword { get; set; }
string SmtpFromAddress { get; set; }
string SmtpToAddresses { get; set; }
Boolean TwitterNotifyOnGrab { get; set; }
Boolean TwitterNotifyOnDownload { get; set; }
string TwitterAccessToken { get; set; }
string TwitterAccessTokenSecret { get; set; }
Boolean GrowlNotifyOnGrab { get; set; }
Boolean GrowlNotifyOnDownload { get; set; }
string GrowlHost { get; set; }
string GrowlPassword { get; set; }
Boolean ProwlNotifyOnGrab { get; set; }
Boolean ProwlNotifyOnDownload { get; set; }
string ProwlApiKeys { get; set; }
int ProwlPriority { get; set; }
bool EnableBacklogSearching { get; set; }
@ -72,8 +62,6 @@ namespace NzbDrone.Core.Configuration
DownloadClientType DownloadClient { get; set; }
string BlackholeDirectory { get; set; }
string ServiceRootUrl { get; }
Boolean PlexNotifyOnGrab { get; set; }
Boolean PlexNotifyOnDownload { get; set; }
Boolean PlexUpdateLibrary { get; set; }
string PlexServerHost { get; set; }
string PlexClientHosts { get; set; }

View file

@ -76,8 +76,6 @@ namespace NzbDrone.Core.ExternalNotification
return readFunction(def);
}
public void Handle(EpisodeGrabbedEvent message)
{
if (NotifyOnGrab)