1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 17:17:02 +00:00

Fixed transmission returning -1 as Eta.

This commit is contained in:
Taloth Saldono 2015-05-29 20:50:35 +02:00
parent aa78807ee2
commit 1cc6ad0d5f

View file

@ -117,7 +117,6 @@ public override IEnumerable<DownloadClientItem> GetItems()
item.OutputPath = outputPath + torrent.Name;
item.TotalSize = torrent.TotalSize;
item.RemainingSize = torrent.LeftUntilDone;
item.RemainingTime = TimeSpan.FromSeconds(torrent.Eta);
if (torrent.Eta != -1)
{
item.RemainingTime = TimeSpan.FromSeconds(torrent.Eta);