Fixed: Moving series folders in subfolders of the root folder when destination subfolder was missing

pull/3597/head
Mark McDowall 5 years ago
parent bcc8b655f7
commit 88b1c8fc3e

@ -53,6 +53,9 @@ namespace NzbDrone.Core.Tv
try
{
// Ensure the parent of the series folder exists, this will often just be the root folder, but
// in cases where people are using subfolders for first letter (etc) it may not yet exist.
_diskProvider.CreateFolder(new DirectoryInfo(destinationPath).Parent.FullName);
_diskTransferService.TransferFolder(sourcePath, destinationPath, TransferMode.Move);
_logger.ProgressInfo("{0} moved successfully to {1}", series.Title, series.Path);

Loading…
Cancel
Save