@ -88,7 +88,7 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
}
}
}
}
var item = new DownloadClientItem ( )
var item = new DownloadClientItem
{
{
Category = Settings . TvCategory ,
Category = Settings . TvCategory ,
DownloadClientInfo = DownloadClientItemClientInfo . FromDownloadClient ( this , false ) ,
DownloadClientInfo = DownloadClientItemClientInfo . FromDownloadClient ( this , false ) ,
@ -99,11 +99,11 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
RemainingTime = GetRemainingTime ( torrent ) ,
RemainingTime = GetRemainingTime ( torrent ) ,
SeedRatio = GetSeedRatio ( torrent ) ,
SeedRatio = GetSeedRatio ( torrent ) ,
Status = GetStatus ( torrent ) ,
Status = GetStatus ( torrent ) ,
Message = GetMessage ( torrent ) ,
Message = GetMessage ( torrent )
CanMoveFiles = IsFinished ( torrent ) ,
CanBeRemoved = IsFinished ( torrent )
} ;
} ;
item . CanMoveFiles = item . CanBeRemoved = item . DownloadClientInfo . RemoveCompletedDownloads & & IsFinished ( torrent ) ;
if ( item . Status = = DownloadItemStatus . Completed | | item . Status = = DownloadItemStatus . Failed )
if ( item . Status = = DownloadItemStatus . Completed | | item . Status = = DownloadItemStatus . Failed )
{
{
item . OutputPath = GetOutputPath ( outputPath , torrent , serialNumber ) ;
item . OutputPath = GetOutputPath ( outputPath , torrent , serialNumber ) ;