Fixed: Generating metadata files after importing episode files

This commit is contained in:
Mark McDowall 2016-09-18 22:19:08 -07:00
parent cd8659e684
commit 755fdce227
1 changed files with 4 additions and 4 deletions

View File

@ -51,10 +51,6 @@ namespace NzbDrone.Core.Extras
public void ImportExtraFiles(LocalEpisode localEpisode, EpisodeFile episodeFile, bool isReadOnly) public void ImportExtraFiles(LocalEpisode localEpisode, EpisodeFile episodeFile, bool isReadOnly)
{ {
// TODO: Remove
// Not importing files yet, testing that parsing is working properly first
return;
var series = localEpisode.Series; var series = localEpisode.Series;
foreach (var extraFileManager in _extraFileManagers) foreach (var extraFileManager in _extraFileManagers)
@ -62,6 +58,10 @@ namespace NzbDrone.Core.Extras
extraFileManager.CreateAfterEpisodeImport(series, episodeFile); extraFileManager.CreateAfterEpisodeImport(series, episodeFile);
} }
// TODO: Remove
// Not importing files yet, testing that parsing is working properly first
return;
var sourcePath = localEpisode.Path; var sourcePath = localEpisode.Path;
var sourceFolder = _diskProvider.GetParentFolder(sourcePath); var sourceFolder = _diskProvider.GetParentFolder(sourcePath);
var sourceFileName = Path.GetFileNameWithoutExtension(sourcePath); var sourceFileName = Path.GetFileNameWithoutExtension(sourcePath);