1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Adding some more logging to import process

This commit is contained in:
Mark McDowall 2013-11-28 12:53:30 -08:00
parent bb7bf803a6
commit e6a4008fad
3 changed files with 7 additions and 0 deletions

View File

@ -65,6 +65,8 @@ private IEnumerable<ImportDecision> GetDecisions(IEnumerable<String> videoFiles,
} }
parsedEpisode.Size = _diskProvider.GetFileSize(file); parsedEpisode.Size = _diskProvider.GetFileSize(file);
_logger.Trace("Size: {0}", parsedEpisode.Size);
decision = GetDecision(parsedEpisode); decision = GetDecision(parsedEpisode);
} }

View File

@ -156,7 +156,11 @@ public static ParsedEpisodeInfo ParseTitle(string title)
if (result != null) if (result != null)
{ {
result.Language = ParseLanguage(title); result.Language = ParseLanguage(title);
Logger.Trace("Language parsed: {0}", result.Language);
result.Quality = QualityParser.ParseQuality(title); result.Quality = QualityParser.ParseQuality(title);
Logger.Trace("Quality parsed: {0}", result.Quality);
return result; return result;
} }
} }

View File

@ -52,6 +52,7 @@ public LocalEpisode GetEpisodes(string filename, Series series, bool sceneSource
if (!episodes.Any()) if (!episodes.Any())
{ {
_logger.Trace("No matching episodes found for: {0}", parsedEpisodeInfo);
return null; return null;
} }