Existing episodes will not be added to history

pull/6/head
Mark McDowall 12 years ago
parent 40962aca1d
commit 55b8b31bed

@ -69,11 +69,10 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
if (newDownload) if (newDownload)
{ {
episodeFile = _episodeFileMover.MoveEpisodeFile(episodeFile, localEpisode); episodeFile = _episodeFileMover.MoveEpisodeFile(episodeFile, localEpisode);
_messageAggregator.PublishEvent(new EpisodeImportedEvent(episodeFile));
} }
_mediaFileService.Add(episodeFile); _mediaFileService.Add(episodeFile);
_messageAggregator.PublishEvent(new EpisodeImportedEvent(episodeFile));
} }
catch (Exception e) catch (Exception e)
{ {

Loading…
Cancel
Save