Fixed: MediaInfo not getting read when quality isn't Bluray, Web-dl or HDTV. Fixes #1465. Fixes #1572.

Leonardo Galli 7 years ago
parent a951ad811d
commit a98494ab63

@ -136,10 +136,11 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
_logger.Debug("Size: {0}", localMovie.Size); _logger.Debug("Size: {0}", localMovie.Size);
var current = localMovie.Quality; var current = localMovie.Quality;
localMovie.MediaInfo = _videoFileInfoReader.GetMediaInfo(file);
//TODO: make it so media info doesn't ruin the import process of a new series //TODO: make it so media info doesn't ruin the import process of a new series
if (sceneSource && ShouldCheckQualityForParsedQuality(current.Quality)) if (sceneSource && ShouldCheckQualityForParsedQuality(current.Quality))
{ {
localMovie.MediaInfo = _videoFileInfoReader.GetMediaInfo(file);
if (shouldCheckQuality) if (shouldCheckQuality)
{ {
_logger.Debug("Checking quality for this video file to make sure nothing mismatched."); _logger.Debug("Checking quality for this video file to make sure nothing mismatched.");

Loading…
Cancel
Save