mirror of https://github.com/lidarr/Lidarr
Fixed transmission returning -1 as Eta.
This commit is contained in:
parent
aa78807ee2
commit
1cc6ad0d5f
|
@ -117,7 +117,6 @@ namespace NzbDrone.Core.Download.Clients.Transmission
|
||||||
item.OutputPath = outputPath + torrent.Name;
|
item.OutputPath = outputPath + torrent.Name;
|
||||||
item.TotalSize = torrent.TotalSize;
|
item.TotalSize = torrent.TotalSize;
|
||||||
item.RemainingSize = torrent.LeftUntilDone;
|
item.RemainingSize = torrent.LeftUntilDone;
|
||||||
item.RemainingTime = TimeSpan.FromSeconds(torrent.Eta);
|
|
||||||
if (torrent.Eta != -1)
|
if (torrent.Eta != -1)
|
||||||
{
|
{
|
||||||
item.RemainingTime = TimeSpan.FromSeconds(torrent.Eta);
|
item.RemainingTime = TimeSpan.FromSeconds(torrent.Eta);
|
||||||
|
|
Loading…
Reference in New Issue