Rename Sonarr to Radarr in DownloadStation client (#812)

Mitchell Cash 8 years ago committed by Devin Buhl
parent 7d6a518f30
commit 1c0f9b64ca

@ -42,7 +42,7 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
[FieldDefinition(3, Label = "Password", Type = FieldType.Password)]
public string Password { get; set; }
[FieldDefinition(4, Label = "Category", Type = FieldType.Textbox, HelpText = "Adding a category specific to Sonarr avoids conflicts with unrelated downloads, but it's optional. Creates a [category] subdirectory in the output directory.")]
[FieldDefinition(4, Label = "Category", Type = FieldType.Textbox, HelpText = "Adding a category specific to Radarr avoids conflicts with unrelated downloads, but it's optional. Creates a [category] subdirectory in the output directory.")]
public string TvCategory { get; set; }
[FieldDefinition(5, Label = "Directory", Type = FieldType.Textbox, HelpText = "Optional shared folder to put downloads into, leave blank to use the default Download Station location")]

@ -197,7 +197,7 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
failures.AddIfNotNull(TestOutputPath());
if (failures.Any()) return;
failures.AddIfNotNull(TestGetTorrents());
}
}
protected bool IsFinished(DownloadStationTorrent torrent)
{
@ -278,7 +278,7 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
protected ValidationFailure TestOutputPath()
{
try
{
{
var folderInfo = _fileStationProxy.GetInfoFileOrDirectory($"/{GetDownloadDirectory()}", Settings);
if (!folderInfo.IsDir || folderInfo.Additional == null)
@ -305,7 +305,7 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
_logger.Error(ex, ex.Message);
return new NzbDroneValidationFailure("Username", "Authentication failure")
{
DetailedDescription = $"Please verify your username and password. Also verify if the host running Sonarr isn't blocked from accessing {Name} by WhiteList limitations in the {Name} configuration."
DetailedDescription = $"Please verify your username and password. Also verify if the host running Radarr isn't blocked from accessing {Name} by WhiteList limitations in the {Name} configuration."
};
}
catch (WebException ex)
@ -390,4 +390,4 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
return null;
}
}
}
}

Loading…
Cancel
Save