|
|
@ -184,9 +184,11 @@ namespace NzbDrone.Core.Download.Clients.Transmission
|
|
|
|
{
|
|
|
|
{
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var versionResult =
|
|
|
|
var versionString = _proxy.GetVersion(Settings);
|
|
|
|
Regex.Replace(_proxy.GetVersion(Settings), @"\([^)]*\)", "",
|
|
|
|
|
|
|
|
RegexOptions.IgnoreCase | RegexOptions.Multiline).Trim();
|
|
|
|
_logger.Debug("Transmission version information: {0}", versionString);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var versionResult = Regex.Replace(versionString, @"\([^)]*\)", "", RegexOptions.IgnoreCase | RegexOptions.Multiline).Trim();
|
|
|
|
var version = Version.Parse(versionResult);
|
|
|
|
var version = Version.Parse(versionResult);
|
|
|
|
|
|
|
|
|
|
|
|
if (version < new Version(2, 40))
|
|
|
|
if (version < new Version(2, 40))
|
|
|
|