Skip to content

Commit

Permalink
Ensure target dir exists during download import
Browse files Browse the repository at this point in the history
  • Loading branch information
tty418 committed Feb 28, 2024
1 parent 12e707e commit 4390567
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NzbDrone.Core/Extras/Files/AlbumExtraFileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ private OtherExtraFile ImportSingleFile(Artist artist, int albumId, string sourc

if (!sourcePath.PathEquals(destinationPath))
{
_diskProvider.CreateFolder(_diskProvider.GetParentFolder(destinationPath));
_diskTransferService.TransferFile(sourcePath, destinationPath, transferMode, true);
}

Expand Down

0 comments on commit 4390567

Please sign in to comment.