diff --git a/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs b/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs index 0963fa4a89..cbdd3f4385 100644 --- a/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs +++ b/src/NzbDrone.Core/Download/Clients/Nzbget/Nzbget.cs @@ -254,7 +254,12 @@ private ValidationFailure TestConnection() { try { - _proxy.GetVersion(Settings); + var version = _proxy.GetVersion(Settings); + + if (Version.Parse(version) < Version.Parse("12.0")) + { + return new ValidationFailure(string.Empty, "Nzbget version too low, need 12.0 or higher"); + } } catch (Exception ex) { diff --git a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetProxy.cs b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetProxy.cs index 02e95b3d0a..f197855d0e 100644 --- a/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetProxy.cs +++ b/src/NzbDrone.Core/Download/Clients/Nzbget/NzbgetProxy.cs @@ -86,7 +86,7 @@ public String GetVersion(NzbgetSettings settings) { var request = BuildRequest(new JsonRequest("version")); - return Json.Deserialize>(ProcessRequest(request, settings)).Version; + return Json.Deserialize>(ProcessRequest(request, settings)).Result; } public Dictionary GetConfig(NzbgetSettings settings)