|
|
@ -166,12 +166,20 @@ namespace NzbDrone.Core.Download.Clients.Transmission
|
|
|
|
|
|
|
|
|
|
|
|
public override DownloadClientInfo GetStatus()
|
|
|
|
public override DownloadClientInfo GetStatus()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var config = _proxy.GetConfig(Settings);
|
|
|
|
string destDir;
|
|
|
|
var destDir = config.DownloadDir;
|
|
|
|
if (Settings.MovieDirectory.IsNotNullOrWhiteSpace())
|
|
|
|
|
|
|
|
|
|
|
|
if (Settings.MovieCategory.IsNotNullOrWhiteSpace())
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
destDir = string.Format("{0}/.{1}", destDir, Settings.MovieCategory);
|
|
|
|
destDir = Settings.MovieDirectory;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var config = _proxy.GetConfig(Settings);
|
|
|
|
|
|
|
|
destDir = config.DownloadDir;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (Settings.MovieCategory.IsNotNullOrWhiteSpace())
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
destDir = string.Format("{0}/{1}", destDir, Settings.MovieCategory);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return new DownloadClientInfo
|
|
|
|
return new DownloadClientInfo
|
|
|
|