mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 14:55:20 -07:00
Fixed: MediaInfo not getting read when quality isn't Bluray, Web-dl or HDTV. Fixes #1465. Fixes #1572.
This commit is contained in:
parent
a951ad811d
commit
a98494ab63
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue