added commands.

they can be triggered using the api

api/command/
This commit is contained in:
Keivan Beigi 2013-04-26 19:03:34 -07:00
commit 182192e0ba
31 changed files with 265 additions and 74 deletions

View file

@ -211,12 +211,12 @@ namespace NzbDrone.Core.Tv
if (newList.Any())
{
_messageAggregator.Publish(new EpisodeInfoAddedEvent(newList));
_messageAggregator.PublishEvent(new EpisodeInfoAddedEvent(newList));
}
if (updateList.Any())
{
_messageAggregator.Publish(new EpisodeInfoUpdatedEvent(updateList));
_messageAggregator.PublishEvent(new EpisodeInfoUpdatedEvent(updateList));
}
if (failCount != 0)