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:
parent
bb7bf803a6
commit
e6a4008fad
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user