Fixed Parser (broke 103 naming convention, but it fixed more than it broke).

RssItemProcessingProvider - moved Title fix code to a better location (To ensure we actually want the episode(s) first).

SceneNameHelper was bombing when trying to find a matching scene mapping when it didn't exist, changed Single to Find to resolve.
This commit is contained in:
Mark McDowall 2011-03-24 00:19:54 -07:00
commit f07b305684
4 changed files with 15 additions and 8 deletions

View file

@ -76,7 +76,7 @@ namespace NzbDrone.Core.Helpers
public static int FindByName(string cleanSeriesName)
{
var map = _sceneNameMappings.Single(s => Parser.NormalizeTitle(s.Name) == cleanSeriesName);
var map = _sceneNameMappings.Find(s => Parser.NormalizeTitle(s.Name) == cleanSeriesName);
if (map == null)
return 0;