From 2875832db00847609cf823c5ba09c90657599f80 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 22 Jan 2012 23:07:00 -0800 Subject: [PATCH] Made search notifications a bit more friendly ;) --- NzbDrone.Core/Providers/SearchProvider.cs | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/NzbDrone.Core/Providers/SearchProvider.cs b/NzbDrone.Core/Providers/SearchProvider.cs index c60693365..4640f5aff 100644 --- a/NzbDrone.Core/Providers/SearchProvider.cs +++ b/NzbDrone.Core/Providers/SearchProvider.cs @@ -133,11 +133,11 @@ namespace NzbDrone.Core.Providers if (!_inventoryProvider.IsUpgradePossible(episode)) { Logger.Info("Search for {0} was aborted, file in disk meets or exceeds Profile's Cutoff", episode); - notification.CurrentMessage = String.Format("Aborting search for {0}, Upgrade is not possible", episode); + notification.CurrentMessage = String.Format("Skipping search for {0}, file you have is already at cutoff", episode); return false; } - notification.CurrentMessage = "Searching for " + episode; + notification.CurrentMessage = "Looking for " + episode; if (episode.Series.IsDaily && !episode.AirDate.HasValue) { @@ -157,7 +157,17 @@ namespace NzbDrone.Core.Providers return true; Logger.Warn("Unable to find {0} in any of indexers.", episode); - notification.CurrentMessage = String.Format("Unable to find {0} in any of indexers.", episode); + + if (reports.Any()) + { + notification.CurrentMessage = String.Format("Sorry, couldn't find {0} in a none-suckey quality. (by your standards)", episode); + } + else + { + notification.CurrentMessage = String.Format("Sorry, couldn't find you {0} in any of indexers.", episode); + } + + return false; }