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
parent 68ee71ea81
commit 182192e0ba
31 changed files with 265 additions and 74 deletions

View File

@@ -83,7 +83,7 @@ namespace NzbDrone.Core.MediaFiles
if (newDownload)
{
_messageAggregator.Publish(new EpisodeDownloadedEvent(parsedEpisodeInfo, series));
_messageAggregator.PublishEvent(new EpisodeDownloadedEvent(parsedEpisodeInfo, series));
}
return episodeFile;