mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Indexer settings overhaul, reviewed settings tooltips
This commit is contained in:
parent
d60b863e14
commit
5baf2e09c4
24 changed files with 132 additions and 55 deletions
|
@ -251,10 +251,10 @@ namespace NzbDrone.Core.Configuration
|
|||
set { SetValue("NzbgetRecentTvPriority", value); }
|
||||
}
|
||||
|
||||
public string NzbRestrictions
|
||||
public string ReleaseRestrictions
|
||||
{
|
||||
get { return GetValue("NzbRestrictions", String.Empty); }
|
||||
set { SetValue("NzbRestrictions", value); }
|
||||
get { return GetValue("ReleaseRestrictions", String.Empty); }
|
||||
set { SetValue("ReleaseRestrictions", value); }
|
||||
}
|
||||
|
||||
private string GetValue(string key)
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace NzbDrone.Core.Configuration
|
|||
String NzbgetTvCategory { get; set; }
|
||||
Int32 NzbgetPriority { get; set; }
|
||||
PriorityType NzbgetRecentTvPriority { get; set; }
|
||||
string NzbRestrictions { get; set; }
|
||||
string ReleaseRestrictions { get; set; }
|
||||
string GetValue(string key, object defaultValue, bool persist = false);
|
||||
void SetValue(string key, string value);
|
||||
void SaveValues(Dictionary<string, object> configValues);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue