mirror of
https://github.com/Sonarr/Sonarr
synced 2026-04-19 19:51:59 +02:00
parent
f4c19a384b
commit
fc06e51352
1 changed files with 5 additions and 1 deletions
|
|
@ -122,7 +122,11 @@ private EpisodeFile TransferFile(EpisodeFile episodeFile, Series series, List<Ep
|
|||
}
|
||||
|
||||
episodeFile.RelativePath = series.Path.GetRelativePath(destinationFilePath);
|
||||
localEpisode.FileNameBeforeRename = episodeFile.RelativePath;
|
||||
|
||||
if (localEpisode is not null)
|
||||
{
|
||||
localEpisode.FileNameBeforeRename = episodeFile.RelativePath;
|
||||
}
|
||||
|
||||
if (localEpisode is not null && _scriptImportDecider.TryImport(episodeFilePath, destinationFilePath, localEpisode, episodeFile, mode) is var scriptImportDecision && scriptImportDecision != ScriptImportDecision.DeferMove)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue