mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Added progress messaging, using info logging
Also extension methods for complete and failed (for coloured UI messaging)
This commit is contained in:
parent
eeda4e83f9
commit
c928ccb201
21 changed files with 191 additions and 32 deletions
|
@ -11,7 +11,7 @@ namespace NzbDrone.Api.Commands
|
|||
public class CommandConnection : NzbDronePersistentConnection,
|
||||
IHandleAsync<CommandStartedEvent>,
|
||||
IHandleAsync<CommandCompletedEvent>,
|
||||
IHandle<CommandFailedEvent>
|
||||
IHandleAsync<CommandFailedEvent>
|
||||
{
|
||||
public override string Resource
|
||||
{
|
||||
|
@ -28,7 +28,7 @@ namespace NzbDrone.Api.Commands
|
|||
BroadcastMessage(message.TrackedCommand);
|
||||
}
|
||||
|
||||
public void Handle(CommandFailedEvent message)
|
||||
public void HandleAsync(CommandFailedEvent message)
|
||||
{
|
||||
BroadcastMessage(message.TrackedCommand);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue