From 1c0f9b64ca71ba3d6f5cbaf124627d1a7792ee33 Mon Sep 17 00:00:00 2001 From: Mitchell Cash Date: Tue, 21 Feb 2017 02:15:53 +1000 Subject: [PATCH] Rename Sonarr to Radarr in DownloadStation client (#812) --- .../Clients/DownloadStation/DownloadStationSettings.cs | 2 +- .../Clients/DownloadStation/TorrentDownloadStation.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/NzbDrone.Core/Download/Clients/DownloadStation/DownloadStationSettings.cs b/src/NzbDrone.Core/Download/Clients/DownloadStation/DownloadStationSettings.cs index a1e12d899..ab2bbf06e 100644 --- a/src/NzbDrone.Core/Download/Clients/DownloadStation/DownloadStationSettings.cs +++ b/src/NzbDrone.Core/Download/Clients/DownloadStation/DownloadStationSettings.cs @@ -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")] diff --git a/src/NzbDrone.Core/Download/Clients/DownloadStation/TorrentDownloadStation.cs b/src/NzbDrone.Core/Download/Clients/DownloadStation/TorrentDownloadStation.cs index 474bec9ef..c236115b0 100644 --- a/src/NzbDrone.Core/Download/Clients/DownloadStation/TorrentDownloadStation.cs +++ b/src/NzbDrone.Core/Download/Clients/DownloadStation/TorrentDownloadStation.cs @@ -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; } } -} \ No newline at end of file +}