mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Don't try to move episode file that does not exist
#ND-144 fixed
This commit is contained in:
parent
0297942290
commit
7a675487fd
2 changed files with 72 additions and 4 deletions
|
@ -191,6 +191,12 @@ namespace NzbDrone.Core.Providers
|
|||
return null;
|
||||
}
|
||||
|
||||
if(!_diskProvider.FileExists(episodeFile.Path))
|
||||
{
|
||||
Logger.Error("Episode file path does not exist, {0}", episodeFile.Path);
|
||||
return null;
|
||||
}
|
||||
|
||||
_diskProvider.CreateDirectory(newFile.DirectoryName);
|
||||
|
||||
Logger.Debug("Moving [{0}] > [{1}]", episodeFile.Path, newFile.FullName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue