1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 03:52:33 +02:00

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

View File

@ -51,10 +51,6 @@ public ExtraService(IMediaFileService mediaFileService,
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 @@ public void ImportExtraFiles(LocalEpisode localEpisode, EpisodeFile episodeFile,
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);