Added: Movie files are now eager loaded. This should speed up the loading process a lot as well as RSS Sync and other tasks. It should also prevent some other bugs.

This commit is contained in:
Leonardo Galli
2017-10-01 18:41:19 +02:00
parent ecd25dddf1
commit 628c044c46
10 changed files with 38 additions and 37 deletions
@@ -44,7 +44,7 @@ namespace NzbDrone.Core.MediaFiles
_logger.Trace("Upgrading existing movie file.");
var moveFileResult = new MovieFileMoveResult();
var existingFile = localMovie.Movie.MovieFile.Value;
var existingFile = localMovie.Movie.MovieFile;
if (existingFile != null)
{