mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Added Prowl notifications.
This commit is contained in:
parent
1b8e359a63
commit
277b873b39
18 changed files with 452 additions and 9 deletions
|
@ -13,7 +13,6 @@ namespace NzbDrone.Core.Providers.Core
|
|||
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
||||
private readonly IDatabase _database;
|
||||
|
||||
|
||||
[Inject]
|
||||
public ConfigProvider(IDatabase database)
|
||||
{
|
||||
|
@ -364,6 +363,32 @@ namespace NzbDrone.Core.Providers.Core
|
|||
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); }
|
||||
set { SetValue("ProwlApiKeys", value); }
|
||||
}
|
||||
|
||||
public virtual int ProwlPriority
|
||||
{
|
||||
get { return GetValueInt("ProwlPriority", 0); }
|
||||
set { SetValue("ProwlPriority", value); }
|
||||
}
|
||||
|
||||
private string GetValue(string key)
|
||||
{
|
||||
return GetValue(key, String.Empty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue