Fixed: Generating metadata files after importing episode files
This commit is contained in:
parent
cd8659e684
commit
755fdce227
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue