Don't fetch media info when adding existing episodes

pull/4/head
Mark McDowall 10 years ago
parent e3893083bc
commit 9686c2579b

@ -74,7 +74,11 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
localEpisode.Size = _diskProvider.GetFileSize(file); localEpisode.Size = _diskProvider.GetFileSize(file);
_logger.Debug("Size: {0}", localEpisode.Size); _logger.Debug("Size: {0}", localEpisode.Size);
//TODO: make it so media info doesn't ruin the import process of a new series
if (sceneSource)
{
localEpisode.MediaInfo = _videoFileInfoReader.GetMediaInfo(file); localEpisode.MediaInfo = _videoFileInfoReader.GetMediaInfo(file);
}
decision = GetDecision(localEpisode); decision = GetDecision(localEpisode);
} }

Loading…
Cancel
Save