1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-24 00:33:05 +00:00

Better logging for auto adding new episodes.

This commit is contained in:
kay.one 2011-12-14 00:07:33 -08:00
parent 19c087e50a
commit 98e8f4361e

View file

@ -131,7 +131,7 @@ public virtual IList<Episode> GetEpisodesByParseResult(EpisodeParseResult parseR
if (episodeInfo == null && autoAddNew) if (episodeInfo == null && autoAddNew)
{ {
Logger.Debug("Episode {0} doesn't exist in db. adding it now.", parseResult); Logger.Info("Episode {0} doesn't exist in db. adding it now. {1}", parseResult, parseResult.NzbTitle);
episodeInfo = new Episode episodeInfo = new Episode
{ {
SeriesId = parseResult.Series.SeriesId, SeriesId = parseResult.Series.SeriesId,
@ -183,7 +183,7 @@ public virtual IList<Episode> GetEpisodesByParseResult(EpisodeParseResult parseR
//if still null we should add the temp episode //if still null we should add the temp episode
if (episodeInfo == null && autoAddNew) if (episodeInfo == null && autoAddNew)
{ {
Logger.Debug("Episode {0} doesn't exist in db. adding it now.", parseResult); Logger.Info("Episode {0} doesn't exist in db. adding it now. {1}", parseResult, parseResult.NzbTitle);
episodeInfo = new Episode episodeInfo = new Episode
{ {
SeriesId = parseResult.Series.SeriesId, SeriesId = parseResult.Series.SeriesId,