Fixed: Import not working due to Language constraint

pull/2/head
Qstick 6 years ago
parent 9350f6a04c
commit 722a996ad3

@ -82,6 +82,7 @@ namespace NzbDrone.Core.MediaFiles.MovieImport
movieFile.Path = localMovie.Path.CleanFilePath(); movieFile.Path = localMovie.Path.CleanFilePath();
movieFile.Size = _diskProvider.GetFileSize(localMovie.Path); movieFile.Size = _diskProvider.GetFileSize(localMovie.Path);
movieFile.Quality = localMovie.Quality; movieFile.Quality = localMovie.Quality;
movieFile.Languages = localMovie.Languages;
movieFile.MediaInfo = localMovie.MediaInfo; movieFile.MediaInfo = localMovie.MediaInfo;
movieFile.Movie = localMovie.Movie; movieFile.Movie = localMovie.Movie;
movieFile.ReleaseGroup = localMovie.ParsedMovieInfo?.ReleaseGroup; movieFile.ReleaseGroup = localMovie.ParsedMovieInfo?.ReleaseGroup;

@ -186,6 +186,7 @@ namespace NzbDrone.Core.Parser
{ {
Movie = movie, Movie = movie,
Quality = enhanced.Quality, Quality = enhanced.Quality,
Languages = enhanced.Languages,
Path = filename, Path = filename,
ParsedMovieInfo = enhanced, ParsedMovieInfo = enhanced,
ExistingFile = movie.Path.IsParentPath(filename), ExistingFile = movie.Path.IsParentPath(filename),

Loading…
Cancel
Save