From 55b8b31bed52289e40e87067099257dc6a395a7f Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 11 Jul 2013 19:19:37 -0700 Subject: [PATCH] Existing episodes will not be added to history --- .../MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs b/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs index 3cccd51dd..946f8b5c5 100644 --- a/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs +++ b/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs @@ -69,11 +69,10 @@ public List Import(List decisions, bool newDownl if (newDownload) { episodeFile = _episodeFileMover.MoveEpisodeFile(episodeFile, localEpisode); + _messageAggregator.PublishEvent(new EpisodeImportedEvent(episodeFile)); } _mediaFileService.Add(episodeFile); - _messageAggregator.PublishEvent(new EpisodeImportedEvent(episodeFile)); - } catch (Exception e) {