New: Lidarr to Readarr

This commit is contained in:
Qstick
2020-02-29 15:51:29 -05:00
parent 7359c2a9fa
commit 3b7eb01918
565 changed files with 1669 additions and 4272 deletions

View File

@@ -133,7 +133,7 @@ namespace NzbDrone.Core.Configuration
}
}
public int Port => GetValueInt("Port", 8686);
public int Port => GetValueInt("Port", 8787);
public int SslPort => GetValueInt("SslPort", 6868);
@@ -320,12 +320,12 @@ namespace NzbDrone.Core.Configuration
if (contents.IsNullOrWhiteSpace())
{
throw new InvalidConfigFileException($"{_configFile} is empty. Please delete the config file and Lidarr will recreate it.");
throw new InvalidConfigFileException($"{_configFile} is empty. Please delete the config file and Readarr will recreate it.");
}
if (contents.All(char.IsControl))
{
throw new InvalidConfigFileException($"{_configFile} is corrupt. Please delete the config file and Lidarr will recreate it.");
throw new InvalidConfigFileException($"{_configFile} is corrupt. Please delete the config file and Readarr will recreate it.");
}
return XDocument.Parse(_diskProvider.ReadAllText(_configFile));
@@ -339,11 +339,11 @@ namespace NzbDrone.Core.Configuration
}
catch (XmlException ex)
{
throw new InvalidConfigFileException($"{_configFile} is corrupt is invalid. Please delete the config file and Lidarr will recreate it.", ex);
throw new InvalidConfigFileException($"{_configFile} is corrupt is invalid. Please delete the config file and Readarr will recreate it.", ex);
}
catch (UnauthorizedAccessException ex)
{
throw new AccessDeniedConfigFileException($"Lidarr does not have access to config file: {_configFile}. Please fix permissions", ex);
throw new AccessDeniedConfigFileException($"Readarr does not have access to config file: {_configFile}. Please fix permissions", ex);
}
}
@@ -358,7 +358,7 @@ namespace NzbDrone.Core.Configuration
}
catch (UnauthorizedAccessException ex)
{
throw new AccessDeniedConfigFileException($"Lidarr does not have access to config file: {_configFile}. Please fix permissions", ex);
throw new AccessDeniedConfigFileException($"Readarr does not have access to config file: {_configFile}. Please fix permissions", ex);
}
}