mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Settings loading overhaul
Download client moved to a layout Settings are only shown after all settings are loaded
This commit is contained in:
parent
29ed3293d1
commit
b21e49f5fa
16 changed files with 443 additions and 372 deletions
|
@ -167,15 +167,15 @@ namespace NzbDrone.Core.Configuration
|
|||
|
||||
public DownloadClientType DownloadClient
|
||||
{
|
||||
get { return GetValueEnum("DownloadClientType", DownloadClientType.Sabnzbd); }
|
||||
get { return GetValueEnum("DownloadClient", DownloadClientType.Sabnzbd); }
|
||||
|
||||
set { SetValue("DownloadClient", value); }
|
||||
}
|
||||
|
||||
public string BlackholeFolder
|
||||
{
|
||||
get { return GetValue("BlackholeDirectory", String.Empty); }
|
||||
set { SetValue("BlackholeDirectory", value); }
|
||||
get { return GetValue("BlackholeFolder", String.Empty); }
|
||||
set { SetValue("BlackholeFolder", value); }
|
||||
}
|
||||
|
||||
public string ServiceRootUrl
|
||||
|
@ -192,8 +192,8 @@ namespace NzbDrone.Core.Configuration
|
|||
|
||||
public string PneumaticFolder
|
||||
{
|
||||
get { return GetValue("PneumaticDirectory", String.Empty); }
|
||||
set { SetValue("PneumaticDirectory", value); }
|
||||
get { return GetValue("PneumaticFolder", String.Empty); }
|
||||
set { SetValue("PneumaticFolder", value); }
|
||||
}
|
||||
|
||||
public string RecycleBin
|
||||
|
@ -204,7 +204,7 @@ namespace NzbDrone.Core.Configuration
|
|||
|
||||
public int RssSyncInterval
|
||||
{
|
||||
get { return GetValueInt("RssSyncInterval", 25); }
|
||||
get { return GetValueInt("RssSyncInterval", 15); }
|
||||
set { SetValue("RssSyncInterval", value); }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue