From 755fdce227246b05fb137fb00f09d08d8517e0f9 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 18 Sep 2016 22:19:08 -0700 Subject: [PATCH] Fixed: Generating metadata files after importing episode files --- src/NzbDrone.Core/Extras/ExtraService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/NzbDrone.Core/Extras/ExtraService.cs b/src/NzbDrone.Core/Extras/ExtraService.cs index 6881ebee6..d19015243 100644 --- a/src/NzbDrone.Core/Extras/ExtraService.cs +++ b/src/NzbDrone.Core/Extras/ExtraService.cs @@ -51,10 +51,6 @@ namespace NzbDrone.Core.Extras 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; foreach (var extraFileManager in _extraFileManagers) @@ -62,6 +58,10 @@ namespace NzbDrone.Core.Extras extraFileManager.CreateAfterEpisodeImport(series, episodeFile); } + // TODO: Remove + // Not importing files yet, testing that parsing is working properly first + return; + var sourcePath = localEpisode.Path; var sourceFolder = _diskProvider.GetParentFolder(sourcePath); var sourceFileName = Path.GetFileNameWithoutExtension(sourcePath);