Optimized logging to improve performance

This commit is contained in:
kay.one 2011-05-19 19:13:21 -07:00
commit 9cad9bbbd7
3 changed files with 4 additions and 3 deletions

View file

@ -108,6 +108,7 @@ namespace NzbDrone.Core.Providers
public virtual Series FindSeries(string title)
{
//TODO:Add series alias support here. if a series is not found in the repo should be tried using its aliases
var normalizeTitle = Parser.NormalizeTitle(title);
return _repository.Single<Series>(s => s.CleanTitle == normalizeTitle);
}