|
|
@ -115,9 +115,13 @@ namespace NzbDrone.Core.Download.Clients.Transmission
|
|
|
|
item.DownloadClient = Definition.Name;
|
|
|
|
item.DownloadClient = Definition.Name;
|
|
|
|
|
|
|
|
|
|
|
|
item.OutputPath = outputPath + torrent.Name;
|
|
|
|
item.OutputPath = outputPath + torrent.Name;
|
|
|
|
|
|
|
|
item.TotalSize = torrent.TotalSize;
|
|
|
|
item.RemainingSize = torrent.LeftUntilDone;
|
|
|
|
item.RemainingSize = torrent.LeftUntilDone;
|
|
|
|
item.RemainingTime = TimeSpan.FromSeconds(torrent.Eta);
|
|
|
|
item.RemainingTime = TimeSpan.FromSeconds(torrent.Eta);
|
|
|
|
item.TotalSize = torrent.TotalSize;
|
|
|
|
if (torrent.Eta != -1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
item.RemainingTime = TimeSpan.FromSeconds(torrent.Eta);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!torrent.ErrorString.IsNullOrWhiteSpace())
|
|
|
|
if (!torrent.ErrorString.IsNullOrWhiteSpace())
|
|
|
|
{
|
|
|
|
{
|
|
|
|