1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-23 08:13:01 +00:00

Existing episodes will not be added to history

This commit is contained in:
Mark McDowall 2013-07-11 19:19:37 -07:00
parent 40962aca1d
commit 55b8b31bed

View file

@ -69,11 +69,10 @@ public List<ImportDecision> Import(List<ImportDecision> decisions, bool newDownl
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)
{ {