|
|
|
@ -166,12 +166,20 @@ namespace NzbDrone.Core.Download.Clients.Transmission
|
|
|
|
|
|
|
|
|
|
public override DownloadClientInfo GetStatus()
|
|
|
|
|
{
|
|
|
|
|
var config = _proxy.GetConfig(Settings);
|
|
|
|
|
var destDir = config.DownloadDir;
|
|
|
|
|
|
|
|
|
|
if (Settings.MovieCategory.IsNotNullOrWhiteSpace())
|
|
|
|
|
string destDir;
|
|
|
|
|
if (Settings.MovieDirectory.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
|
|
|
|
|