mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
New: Added Plex to Notifications, allowing notifications and library updates.
This commit is contained in:
parent
d27f14d7aa
commit
6e767eafab
12 changed files with 629 additions and 74 deletions
|
@ -442,6 +442,51 @@ namespace NzbDrone.Core.Providers.Core
|
|||
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"); }
|
||||
|
||||
set { SetValue("PlexUpdateLibrary", value); }
|
||||
}
|
||||
|
||||
public virtual string PlexServerHost
|
||||
{
|
||||
get { return GetValue("PlexServerHost", "localhost:32400"); }
|
||||
set { SetValue("PlexServerHost", value); }
|
||||
}
|
||||
|
||||
public virtual string PlexClientHosts
|
||||
{
|
||||
get { return GetValue("PlexClientHosts", "localhost:3000"); }
|
||||
set { SetValue("PlexClientHosts", value); }
|
||||
}
|
||||
|
||||
public virtual string PlexUsername
|
||||
{
|
||||
get { return GetValue("PlexUsername"); }
|
||||
set { SetValue("PlexUsername", value); }
|
||||
}
|
||||
|
||||
public virtual string PlexPassword
|
||||
{
|
||||
get { return GetValue("PlexPassword"); }
|
||||
set { SetValue("PlexPassword", value); }
|
||||
}
|
||||
|
||||
private string GetValue(string key)
|
||||
{
|
||||
return GetValue(key, String.Empty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue