New: Rebuilt Completed/Failed download handling from scratch

This commit is contained in:
Keivan Beigi 2014-12-18 16:26:42 -08:00
parent 264bb66c16
commit a6d34caf2c
79 changed files with 1221 additions and 2389 deletions

View file

@ -9,7 +9,7 @@ using NzbDrone.SignalR;
namespace NzbDrone.Api.Queue
{
public class QueueModule : NzbDroneRestModuleWithSignalR<QueueResource, Core.Queue.Queue>,
IHandle<UpdateQueueEvent>, IHandle<PendingReleasesUpdatedEvent>
IHandle<QueueUpdatedEvent>, IHandle<PendingReleasesUpdatedEvent>
{
private readonly IQueueService _queueService;
private readonly IPendingReleaseService _pendingReleaseService;
@ -35,7 +35,7 @@ namespace NzbDrone.Api.Queue
return queue.Concat(pending);
}
public void Handle(UpdateQueueEvent message)
public void Handle(QueueUpdatedEvent message)
{
BroadcastResourceChange(ModelAction.Sync);
}