|
|
|
@ -72,7 +72,7 @@ namespace NzbDrone.Core.MediaFiles
|
|
|
|
|
|
|
|
|
|
public MovieFile MoveMovieFile(MovieFile movieFile, LocalMovie localMovie)
|
|
|
|
|
{
|
|
|
|
|
var newFileName = _buildFileNames.BuildFileName(localMovie.Movie, movieFile);
|
|
|
|
|
var newFileName = _buildFileNames.BuildFileName(localMovie.Movie, movieFile, null, localMovie.CustomFormats);
|
|
|
|
|
var filePath = _buildFileNames.BuildFilePath(localMovie.Movie, newFileName, Path.GetExtension(localMovie.Path));
|
|
|
|
|
|
|
|
|
|
EnsureMovieFolder(movieFile, localMovie, filePath);
|
|
|
|
@ -84,7 +84,7 @@ namespace NzbDrone.Core.MediaFiles
|
|
|
|
|
|
|
|
|
|
public MovieFile CopyMovieFile(MovieFile movieFile, LocalMovie localMovie)
|
|
|
|
|
{
|
|
|
|
|
var newFileName = _buildFileNames.BuildFileName(localMovie.Movie, movieFile);
|
|
|
|
|
var newFileName = _buildFileNames.BuildFileName(localMovie.Movie, movieFile, null, localMovie.CustomFormats);
|
|
|
|
|
var filePath = _buildFileNames.BuildFilePath(localMovie.Movie, newFileName, Path.GetExtension(localMovie.Path));
|
|
|
|
|
|
|
|
|
|
EnsureMovieFolder(movieFile, localMovie, filePath);
|
|
|
|
|