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:
parent
19c087e50a
commit
98e8f4361e
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue