mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
New: added self hosted analytics to help improve nzbdrone. Can be turned off in Setting>General
This commit is contained in:
parent
cc8c88e921
commit
a21b535937
7 changed files with 69 additions and 3 deletions
|
@ -27,6 +27,7 @@ namespace NzbDrone.Core.Configuration
|
|||
bool EnableSsl { get; }
|
||||
bool LaunchBrowser { get; }
|
||||
bool AuthenticationEnabled { get; }
|
||||
bool AnalyticsEnabled { get; }
|
||||
string Username { get; }
|
||||
string Password { get; }
|
||||
string LogLevel { get; }
|
||||
|
@ -139,6 +140,14 @@ namespace NzbDrone.Core.Configuration
|
|||
get { return GetValueBoolean("AuthenticationEnabled", false); }
|
||||
}
|
||||
|
||||
public bool AnalyticsEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
return GetValueBoolean("AnalyticsEnabled", true, persist: false);
|
||||
}
|
||||
}
|
||||
|
||||
public string Branch
|
||||
{
|
||||
get { return GetValue("Branch", "master").ToLowerInvariant(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue