mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Fixed: Generating metadata files after importing episode files
This commit is contained in:
parent
cd8659e684
commit
755fdce227
@ -51,10 +51,6 @@ public ExtraService(IMediaFileService mediaFileService,
|
|||||||
|
|
||||||
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 @@ public void ImportExtraFiles(LocalEpisode localEpisode, EpisodeFile episodeFile,
|
|||||||
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
Block a user