mirror of https://github.com/Radarr/Radarr
Ensure the movie isn't delete when the folder isn't renamed (#491)
This commit is contained in:
parent
e2d6e39168
commit
8168cf82c5
|
@ -138,6 +138,8 @@ namespace NzbDrone.Core.MediaFiles
|
|||
|
||||
_mediaFileAttributeService.SetFilePermissions(destinationFilePath);
|
||||
|
||||
|
||||
if(oldMoviePath != newMoviePath)
|
||||
_diskProvider.DeleteFolder(oldMoviePath, true);
|
||||
|
||||
return movieFile;
|
||||
|
|
Loading…
Reference in New Issue