Made search notifications a bit more friendly ;)

This commit is contained in:
kay.one 2012-01-22 23:07:00 -08:00
parent 7071cf829a
commit 2875832db0
1 changed files with 13 additions and 3 deletions

View File

@ -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;
}