From 1bdc1acdddf6f7094b89d6152da80829b2210cd1 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Thu, 21 May 2015 22:06:47 +0200 Subject: [PATCH] Fixed tiny cosmetic in rTorrent settings. --- .../Download/Clients/rTorrent/RTorrentSettings.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Download/Clients/rTorrent/RTorrentSettings.cs b/src/NzbDrone.Core/Download/Clients/rTorrent/RTorrentSettings.cs index aa8293d3f..392c0d042 100644 --- a/src/NzbDrone.Core/Download/Clients/rTorrent/RTorrentSettings.cs +++ b/src/NzbDrone.Core/Download/Clients/rTorrent/RTorrentSettings.cs @@ -11,7 +11,7 @@ namespace NzbDrone.Core.Download.Clients.RTorrent { public RTorrentSettingsValidator() { - RuleFor(c => c.Host).NotEmpty(); + RuleFor(c => c.Host).ValidHost(); RuleFor(c => c.Port).InclusiveBetween(0, 65535); RuleFor(c => c.TvCategory).NotEmpty(); } @@ -37,7 +37,7 @@ namespace NzbDrone.Core.Download.Clients.RTorrent [FieldDefinition(1, Label = "Port", Type = FieldType.Textbox)] public int Port { get; set; } - [FieldDefinition(2, Label = "UrlBase", Type = FieldType.Textbox)] + [FieldDefinition(2, Label = "Url Base", Type = FieldType.Textbox, Advanced = true, HelpText = "Adds a suffix the rpc url, see http://[host]:[port]/[urlBase], by default this should be RPC2")] public string UrlBase { get; set; } [FieldDefinition(3, Label = "Use SSL", Type = FieldType.Checkbox)]