Fixed: Remove seeded downloads if they've finished seeding after import

Closes #1389

(cherry picked from commit 9d766cfed588ee49525f68815b7e5eb980ddc11f)
This commit is contained in:
Mark McDowall
2020-04-25 11:49:18 -07:00
committed by ta264
parent 83ebb972be
commit 162cbf01ed
5 changed files with 67 additions and 21 deletions
@@ -0,0 +1,15 @@
using NzbDrone.Common.Messaging;
using NzbDrone.Core.Download.TrackedDownloads;
namespace NzbDrone.Core.Download
{
public class DownloadCanBeRemovedEvent : IEvent
{
public TrackedDownload TrackedDownload { get; private set; }
public DownloadCanBeRemovedEvent(TrackedDownload trackedDownload)
{
TrackedDownload = trackedDownload;
}
}
}