From 10264cba5c917a5c8fbcb9798031f78d6c42d6ff Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Fri, 25 Nov 2011 22:38:22 -0800 Subject: [PATCH] post download issues are only logged as warn the first time. --- NzbDrone.Core/Providers/PostDownloadProvider.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/NzbDrone.Core/Providers/PostDownloadProvider.cs b/NzbDrone.Core/Providers/PostDownloadProvider.cs index 50c1523d6..aa32e152f 100644 --- a/NzbDrone.Core/Providers/PostDownloadProvider.cs +++ b/NzbDrone.Core/Providers/PostDownloadProvider.cs @@ -59,8 +59,6 @@ namespace NzbDrone.Core.Providers if (series == null) { - Logger.Warn("Unable to Import new download [{0}], Can't find matching series in database.", - subfolderInfo.Name); TagFolder(subfolderInfo, PostDownloadStatusType.UnknownSeries); return; } @@ -77,14 +75,11 @@ namespace NzbDrone.Core.Providers { if (importedFiles.Count == 0) { - Logger.Warn("Unable to Import new download [{0}], no importable files were found.", - subfolderInfo.Name); TagFolder(subfolderInfo, PostDownloadStatusType.ParseError); } else { //Unknown Error Importing (Possibly a lesser quality than episode currently on disk) - Logger.Warn("Unable to Import new download [{0}].", subfolderInfo.Name); TagFolder(subfolderInfo, PostDownloadStatusType.Unknown); } } @@ -96,8 +91,13 @@ namespace NzbDrone.Core.Providers if (!String.Equals(target.NormalizePath(), directory.FullName.NormalizePath(), StringComparison.InvariantCultureIgnoreCase)) { + Logger.Warn("Unable to download [{0}]. Status: {1}",directory.Name, status); _diskProvider.MoveDirectory(directory.FullName, target); } + else + { + Logger.Debug("Unable to download [{0}], {1}", directory.Name, status); + } } public static string GetTaggedFolderName(DirectoryInfo directoryInfo, PostDownloadStatusType status)