mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
New: UI Updates (Backup Restore in App, Profile Cloning)
UI Pulls from Sonarr
This commit is contained in:
parent
80a5701b99
commit
744742b5ff
80 changed files with 2376 additions and 795 deletions
|
@ -4,7 +4,6 @@ using System.Globalization;
|
|||
using System.Linq;
|
||||
using NLog;
|
||||
using NzbDrone.Common.EnsureThat;
|
||||
using NzbDrone.Common.EnvironmentInfo;
|
||||
using NzbDrone.Core.Configuration.Events;
|
||||
using NzbDrone.Core.MediaFiles;
|
||||
using NzbDrone.Core.Messaging.Events;
|
||||
|
@ -332,6 +331,12 @@ namespace NzbDrone.Core.Configuration
|
|||
|
||||
public bool ProxyBypassLocalAddresses => GetValueBoolean("ProxyBypassLocalAddresses", true);
|
||||
|
||||
public string BackupFolder => GetValue("BackupFolder", "Backups");
|
||||
|
||||
public int BackupInterval => GetValueInt("BackupInterval", 7);
|
||||
|
||||
public int BackupRetention => GetValueInt("BackupRetention", 28);
|
||||
|
||||
private string GetValue(string key)
|
||||
{
|
||||
return GetValue(key, string.Empty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue