mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 10:32:35 +01:00
Added debug messages to check quality.
This commit is contained in:
parent
39322cbbca
commit
5cace1d857
@ -124,6 +124,7 @@ private ImportDecision GetDecision(string file, Movie movie, ParsedMovieInfo fol
|
||||
localMovie.MediaInfo = _videoFileInfoReader.GetMediaInfo(file);
|
||||
if (shouldCheckQuality)
|
||||
{
|
||||
_logger.Debug("Checking quality for this video file to make sure nothing mismatched.");
|
||||
var width = localMovie.MediaInfo.Width;
|
||||
var current = localMovie.Quality;
|
||||
var qualityName = current.Quality.Name.ToLower();
|
||||
@ -255,6 +256,7 @@ private ImportDecision GetDecision(string file, Movie movie, ParsedMovieInfo fol
|
||||
}
|
||||
if (updated != null && updated != current)
|
||||
{
|
||||
_logger.Debug("Quality ({0}) of the file is different than the one we have ({1})", updated, current);
|
||||
updated.QualitySource = QualitySource.MediaInfo;
|
||||
localMovie.Quality = updated;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user